AlkantarClanX12

Your IP : 18.226.226.158


Current Path : /opt/alt/python310/lib64/python3.10/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/__pycache__/copy.cpython-310.opt-2.pyc

o

6��f�!�@sT	ddlZddlZddlmZGdd�de�ZeZzddlmZWne	y,dZYnwgd�Z
dd�ZiZZ
d	d
�Zed�eeeeeeeeeeeeejee�ee�ejejfD]Z ee
e <qZe!edd�Z e duroee
e <e"je
e"<e#je
e#<e$je
e$<e%je
e%<edur�eje
e<[
[ dgfdd
�Z&iZ'Z
dd�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<e(e
ej)<e(e
e<e(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#<edu�re,e
e<dd�Z-e-e
ej.<[
dd�Z/	de&d�dd�Z0[[[dS)�N)�dispatch_tablec@seZdZdS)�ErrorN)�__name__�
__module__�__qualname__�rr�+/opt/alt/python310/lib64/python3.10/copy.pyr7sr)�PyStringMap)r�copy�deepcopycCs�	t|�}t�|�}|r||�St|t�rt|�St|dd�}|dur'||�St�|�}|dur5||�}n!t|dd�}|durD|d�}nt|dd�}|rP|�}ntd|��t|t	�r]|St
|dg|�R�S)N�__copy__�
__reduce_ex__��
__reduce__z%un(shallow)copyable object of type %s)�type�_copy_dispatch�get�
issubclass�_copy_immutable�getattrrr�
isinstance�str�_reconstruct)�x�cls�copier�reductor�rvrrrr
Bs.





r
cC�|S�Nr)rrrrrk�r�CodeTypec	Cs"	|duri}t|�}|�||�}||ur|St|�}t�|�}|dur*|||�}nXt|t�r5t||�}nMt|dd�}|durD||�}n>t�|�}|rP||�}n!t|dd�}|dur_|d�}nt|dd�}|rk|�}ntd|��t	|t
�ry|}n	t||g|�R�}||ur�|||<t||�|S)N�__deepcopy__r
rrz"un(deep)copyable object of type %s)
�idrr�_deepcopy_dispatchr�_deepcopy_atomicrrrrrr�_keep_alive)	r�memoZ_nil�d�yrrrrrrrr�sF





�

rcCrrr�rr'rrrr%�r r%cCs2g}||t|�<|j}|D]	}||||��q
|Sr)r#�append)rr'rr)r+�arrr�_deepcopy_list�sr-csh��fdd�|D�}z�t|�WStyYnwt||�D]\}}||ur/t|�}|Sq |}|S)Ncsg|]}�|���qSrr)�.0r,�rr'rr�
<listcomp>�sz#_deepcopy_tuple.<locals>.<listcomp>)r#�KeyError�zip�tuple)rr'rr)�k�jrr/r�_deepcopy_tuple�s��r6cCs:i}||t|�<|��D]\}}|||�||||�<q|Sr)r#�items)rr'rr)�key�valuerrr�_deepcopy_dict�s
r:cCst|�|jt|j|��Sr)r�__func__r�__self__r*rrr�_deepcopy_method�sr=cCs>	z|t|��|�WdSty|g|t|�<YdSwr)r#r+r1r*rrrr&�s	�r&)rcsZ�du}|r|r��fdd�|D�}||�}	|r|	�t|�<|durc|r)�|��}t|	d�r4|	�|�n/t|t�rDt|�dkrD|\}}
nd}
|durP|	j�|�|
durc|
��D]
\}}t	|	||�qX|dur�|ry|D]}
�|
��}
|	�
|
�qkn
|D]}
|	�
|
�q{|dur�|r�|D]\}}�|��}�|��}||	|<q�|	S|D]\}}||	|<q�|	S)Nc3s�|]}�|��VqdSrr)r.�argr/rr�	<genexpr>s�z_reconstruct.<locals>.<genexpr>�__setstate__�)r#�hasattrr@rr3�len�__dict__�updater7�setattrr+)rr'�func�args�stateZlistiterZdictiterrZdeepr)Z	slotstater8r9�itemrr/rrsJ



�


�
r)NNN)1�types�weakref�copyregr�	Exceptionr�errorZorg.python.corer	�ImportError�__all__r
rr(rr�int�float�bool�complexrr3�bytes�	frozenset�range�slice�property�BuiltinFunctionType�Ellipsis�NotImplemented�FunctionType�ref�tr�list�dict�set�	bytearrayrr$r%r!r-r6r:r=�
MethodTyper&rrrrr�<module>s�2�'�





4





��
-