AlkantarClanX12

Your IP : 18.190.219.178


Current Path : /opt/alt/python37/lib64/python3.7/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/__pycache__/copy.cpython-37.opt-2.pyc

B

YI~d�"�@spddlZddlZddlmZGdd�de�ZeZyddlmZWne	k
rXdZYnXdddgZ
dd�ZiZZ
d	d
�ZxJed�eeeeeeeeeeeeejee�ee�ejejfD]Z ee
e <q�We!edd�Z e dk	r�ee
e <e"je
e"<e#je
e#<e$je
e$<e%je
e%<edk	�r eje
e<[
[ dgfdd�Z&iZ'Z
d
d�Z(e(e
ed�<e(e
ee�<e(e
ee�<e(e
e<e(e
e<e(e
e<e(e
e<e(e
e<e(e
e<ye(e
ej)<Wne*k
�r�YnXe(e
e<e(e
ej<e(e
ej<e(e
ej<e(e
e<e&fdd�Z+e+e
e"<e&fdd�Z,e,e
e<e&fdd�Z-e-e
e#<edk	�r8e-e
e<dd�Z.e.e
ej/<[
dd�Z0ddde&fdd�Z1[[[dS)�N)�dispatch_tablec@seZdZdS)�ErrorN)�__name__�
__module__�__qualname__�rr�)/opt/alt/python37/lib64/python3.7/copy.pyr7sr)�PyStringMap�copy�deepcopycCs�t|�}t�|�}|r||�Syt|t�}Wntk
rDd}YnX|rRt|�St|dd�}|rj||�St�|�}|r�||�}n>t|dd�}|r�|d�}n$t|dd�}|r�|�}ntd|��t	|t
�r�|St|df|��S)NF�__copy__�
__reduce_ex__��
__reduce__z%un(shallow)copyable object of type %s)�type�_copy_dispatch�get�
issubclass�	TypeError�_copy_immutable�getattrrr�
isinstance�str�_reconstruct)�x�cls�copier�issc�reductor�rvrrrr
Bs4





cCs|S)Nr)rrrrrosr�CodeTypec
Cs8|dkri}t|�}|�||�}||k	r,|St|�}t�|�}|rN|||�}n�yt|t�}Wntk
rtd}YnX|r�t||�}n�t|dd�}|r�||�}nxt�|�}|r�||�}	n>t|dd�}|r�|d�}	n$t|dd�}|r�|�}	nt	d|��t
|	t��r|}nt||f|	��}||k	�r4|||<t
||�|S)Nr�__deepcopy__r
rrz"un(deep)copyable object of type %s)�idrr�_deepcopy_dispatchrr�_deepcopy_atomicrrrrrr�_keep_alive)
r�memoZ_nil�d�yrrrrrrrrr�sJ








cCs|S)Nr)rr&rrrr$�sr$cCs6g}||t|�<|j}x|D]}||||��qW|S)N)r"�append)rr&rr(r)�arrr�_deepcopy_list�s
r+csh��fdd�|D�}y�t|�Stk
r4YnXx,t||�D]\}}||k	rBt|�}PqBW|}|S)Ncsg|]}�|���qSrr)�.0r*)rr&rr�
<listcomp>�sz#_deepcopy_tuple.<locals>.<listcomp>)r"�KeyError�zip�tuple)rr&rr(�k�jr)rr&r�_deepcopy_tuple�sr3cCs>i}||t|�<x(|��D]\}}|||�||||�<qW|S)N)r"�items)rr&rr(�key�valuerrr�_deepcopy_dict�s
r7cCst|�|jt|j|��S)N)r�__func__r�__self__)rr&rrr�_deepcopy_method�sr:cCs>y|t|��|�Wn"tk
r8|g|t|�<YnXdS)N)r"r)r.)rr&rrrr%�s
r%csx�dk	}|r$|r$��fdd�|D�}||�}	|r<|	�t|�<|dk	r�|rR�|��}t|	d�rh|	�|�nbt|t�r�t|�dkr�|\}}
nd}
|dk	r�|	j�|�|
dk	r�x |
��D]\}}t	|	||�q�W|dk	�r|r�x<|D]}
�|
��}
|	�
|
�q�Wnx|D]}
|	�
|
��qW|dk	�rt|�rXxL|D]&\}}�|��}�|��}||	|<�q,Wnx|D]\}}||	|<�q^W|	S)Nc3s|]}�|��VqdS)Nr)r,�arg)rr&rr�	<genexpr>sz_reconstruct.<locals>.<genexpr>�__setstate__�)r"�hasattrr=rr0�len�__dict__�updater4�setattrr))rr&�func�args�stateZlistiterZdictiterrZdeepr(Z	slotstater5r6�itemr)rr&rr
sF









r)2�types�weakref�copyregr�	Exceptionr�errorZorg.python.corer	�ImportError�__all__r
rr'rr�int�float�bool�complexrr0�bytes�	frozenset�range�slice�property�BuiltinFunctionType�Ellipsis�NotImplemented�FunctionType�ref�tr�list�dict�set�	bytearrayrr#r$r �AttributeErrorr+r3r7r:�
MethodTyper%rrrrr�<module>3s~

+





8




+