Your IP : 18.188.245.104


Current Path : /proc/self/root/opt/alt/python37/lib64/python3.7/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python37/lib64/python3.7/__pycache__/_collections_abc.cpython-37.opt-2.pyc

B

YI~d8g�@spddlmZmZddlZddddddd	d
ddd
ddddddddddddddgZdZeed��Zeee	���Z
eei����Zeei�
���Zeei����Zeeg��Zeeeg���Zeeed���Zeeedd>���Zeee���Zeed ��Zeed!��Zeee���Zei���Zei�
��Zei���Zeej �Z!ed"d#���Z"d$d%�Z#e#�Z#ee#�Z$e#�%�[#d&d'�Z&e&�Z&ee&�Z'[&d(d)�Z(Gd*d�ded+�Z)Gd,d�ded+�Z*Gd-d�de*�Z+e+�,e$�Gd.d�ded+�Z-Gd/d�de-�Z.Gd0d�de.�Z/e/�,e'�Gd1d	�d	ed+�Z0Gd2d
�d
e0�Z1e1�,e�e1�,e
�e1�,e�e1�,e�e1�,e�e1�,e�e1�,e�e1�,e�e1�,e�e1�,e�e1�,e�e1�,e�e1�,e�Gd3d�de0�Z2Gd4d�de1�Z3e3�,e"�Gd5d
�d
ed+�Z4Gd6d�ded+�Z5Gd7d�de4e0e5�Z6Gd8d�ded+�Z7Gd9d�de6�Z8e8�,e9�Gd:d�de8�Z:e:�,e�Gd;d�de6�Z;e;�,e!�Gd<d�de4�Z<Gd=d�de<e8�Z=e=�,e�Gd>d�de<e8�Z>e>�,e�Gd?d�de<e6�Z?e?�,e�Gd@d�de;�Z@e@�,eA�GdAd�de2e6�ZBeB�,eC�eB�,eD�eB�,e�eB�,eE�GdBd�deB�ZFeF�,eG�eF�,e	�GdCd�deB�ZHeH�,eI�eH�,e	�dS)D�)�ABCMeta�abstractmethodN�	Awaitable�	Coroutine�
AsyncIterable�
AsyncIterator�AsyncGenerator�Hashable�Iterable�Iterator�	Generator�
Reversible�Sized�	Container�Callable�
Collection�Set�
MutableSet�Mapping�MutableMapping�MappingView�KeysView�	ItemsView�
ValuesView�Sequence�MutableSequence�
ByteStringzcollections.abc��i���ccsdVS)Nr r r r �5/opt/alt/python37/lib64/python3.7/_collections_abc.py�<lambda>8rr"c�sdS)Nr r r r r!�_coro:rr#cCs
dVdS)Nr r r r r!�_ag@rr$cGsH|j}x<|D]4}x.|D]"}||jkr|j|dkr6tSPqWtSqWdS)NT)�__mro__�__dict__�NotImplemented)�C�methods�mro�method�Br r r!�_check_methodsHs


r-c@s(eZdZdZedd��Zedd��ZdS)r	r cCsdS)Nrr )�selfr r r!�__hash__XszHashable.__hash__cCs|tkrt|d�StS)Nr/)r	r-r')�clsr(r r r!�__subclasshook__\s
zHashable.__subclasshook__N)�__name__�
__module__�__qualname__�	__slots__rr/�classmethodr1r r r r!r	Ts)�	metaclassc@s(eZdZdZedd��Zedd��ZdS)rr ccs
dVdS)Nr )r.r r r!�	__await__gszAwaitable.__await__cCs|tkrt|d�StS)Nr8)rr-r')r0r(r r r!r1ks
zAwaitable.__subclasshook__N)r2r3r4r5rr8r6r1r r r r!rcsc@s>eZdZdZedd��Zeddd��Zdd�Zed	d
��Z	dS)rr cCst�dS)N)�
StopIteration)r.�valuer r r!�sendvszCoroutine.sendNcCs4|dkr|dkr|�|�}|dk	r,|�|�}|�dS)N)�with_traceback)r.�typ�val�tbr r r!�throw}s
zCoroutine.throwc	Cs4y|�t�Wnttfk
r&Yn
Xtd��dS)Nzcoroutine ignored GeneratorExit)r@�
GeneratorExitr9�RuntimeError)r.r r r!�close�s
zCoroutine.closecCs|tkrt|dddd�StS)Nr8r;r@rC)rr-r')r0r(r r r!r1�szCoroutine.__subclasshook__)NN)
r2r3r4r5rr;r@rCr6r1r r r r!rrs
c@s(eZdZdZedd��Zedd��ZdS)rr cCst�S)N)r)r.r r r!�	__aiter__�szAsyncIterable.__aiter__cCs|tkrt|d�StS)NrD)rr-r')r0r(r r r!r1�s
zAsyncIterable.__subclasshook__N)r2r3r4r5rrDr6r1r r r r!r�sc@s0eZdZdZedd��Zdd�Zedd��ZdS)	rr c�st�dS)N)�StopAsyncIteration)r.r r r!�	__anext__�szAsyncIterator.__anext__cCs|S)Nr )r.r r r!rD�szAsyncIterator.__aiter__cCs|tkrt|dd�StS)NrFrD)rr-r')r0r(r r r!r1�szAsyncIterator.__subclasshook__N)	r2r3r4r5rrFrDr6r1r r r r!r�sc@sFeZdZdZdd�Zedd��Zed
dd��Zd	d
�Ze	dd��Z
dS)rr c�s|�d�IdHS)N)�asend)r.r r r!rF�szAsyncGenerator.__anext__c�st�dS)N)rE)r.r:r r r!rG�szAsyncGenerator.asendNc�s4|dkr|dkr|�|�}|dk	r,|�|�}|�dS)N)r<)r.r=r>r?r r r!�athrow�s
zAsyncGenerator.athrowc	�s:y|�t�IdHWnttfk
r,Yn
Xtd��dS)Nz,asynchronous generator ignored GeneratorExit)rHrArErB)r.r r r!�aclose�s
zAsyncGenerator.aclosecCs|tkrt|ddddd�StS)NrDrFrGrHrI)rr-r')r0r(r r r!r1�s
zAsyncGenerator.__subclasshook__)NN)r2r3r4r5rFrrGrHrIr6r1r r r r!r�s
c@s(eZdZdZedd��Zedd��ZdS)r
r ccsdS)Nr )r.r r r!�__iter__�szIterable.__iter__cCs|tkrt|d�StS)NrJ)r
r-r')r0r(r r r!r1�s
zIterable.__subclasshook__N)r2r3r4r5rrJr6r1r r r r!r
�sc@s0eZdZdZedd��Zdd�Zedd��ZdS)	rr cCst�dS)N)r9)r.r r r!�__next__szIterator.__next__cCs|S)Nr )r.r r r!rJszIterator.__iter__cCs|tkrt|dd�StS)NrJrK)rr-r')r0r(r r r!r1szIterator.__subclasshook__N)	r2r3r4r5rrKrJr6r1r r r r!rsc@s(eZdZdZedd��Zedd��ZdS)r
r ccsdS)Nr )r.r r r!�__reversed__)szReversible.__reversed__cCs|tkrt|dd�StS)NrLrJ)r
r-r')r0r(r r r!r1.szReversible.__subclasshook__N)r2r3r4r5rrLr6r1r r r r!r
%sc@sFeZdZdZdd�Zedd��Zed
dd��Zd	d
�Ze	dd��Z
dS)rr cCs
|�d�S)N)r;)r.r r r!rK9szGenerator.__next__cCst�dS)N)r9)r.r:r r r!r;?szGenerator.sendNcCs4|dkr|dkr|�|�}|dk	r,|�|�}|�dS)N)r<)r.r=r>r?r r r!r@Fs
zGenerator.throwc	Cs4y|�t�Wnttfk
r&Yn
Xtd��dS)Nzgenerator ignored GeneratorExit)r@rAr9rB)r.r r r!rCSs
zGenerator.closecCs|tkrt|ddddd�StS)NrJrKr;r@rC)rr-r')r0r(r r r!r1]s
zGenerator.__subclasshook__)NN)r2r3r4r5rKrr;r@rCr6r1r r r r!r5s
c@s(eZdZdZedd��Zedd��ZdS)rr cCsdS)Nrr )r.r r r!�__len__ksz
Sized.__len__cCs|tkrt|d�StS)NrM)rr-r')r0r(r r r!r1os
zSized.__subclasshook__N)r2r3r4r5rrMr6r1r r r r!rgsc@s(eZdZdZedd��Zedd��ZdS)rr cCsdS)NFr )r.�xr r r!�__contains__zszContainer.__contains__cCs|tkrt|d�StS)NrO)rr-r')r0r(r r r!r1~s
zContainer.__subclasshook__N)r2r3r4r5rrOr6r1r r r r!rvsc@seZdZdZedd��ZdS)rr cCs|tkrt|ddd�StS)NrMrJrO)rr-r')r0r(r r r!r1�szCollection.__subclasshook__N)r2r3r4r5r6r1r r r r!r�sc@s(eZdZdZedd��Zedd��ZdS)rr cOsdS)NFr )r.�args�kwdsr r r!�__call__�szCallable.__call__cCs|tkrt|d�StS)NrR)rr-r')r0r(r r r!r1�s
zCallable.__subclasshook__N)r2r3r4r5rrRr6r1r r r r!r�sc@s�eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Ze	dd
��Z
dd�ZeZdd�Z
dd�ZeZdd�Zdd�Zdd�ZeZdd�ZdS)rr cCs@t|t�stSt|�t|�kr"dSx|D]}||kr(dSq(WdS)NFT)�
isinstancerr'�len)r.�other�elemr r r!�__le__�s

z
Set.__le__cCs(t|t�stSt|�t|�ko&|�|�S)N)rSrr'rTrW)r.rUr r r!�__lt__�s
z
Set.__lt__cCs(t|t�stSt|�t|�ko&|�|�S)N)rSrr'rT�__ge__)r.rUr r r!�__gt__�s
z
Set.__gt__cCs@t|t�stSt|�t|�kr"dSx|D]}||kr(dSq(WdS)NFT)rSrr'rT)r.rUrVr r r!rY�s

z
Set.__ge__cCs(t|t�stSt|�t|�ko&|�|�S)N)rSrr'rTrW)r.rUr r r!�__eq__�s
z
Set.__eq__cCs||�S)Nr )r0�itr r r!�_from_iterable�szSet._from_iterablecs&t|t�stS���fdd�|D��S)Nc3s|]}|�kr|VqdS)Nr )�.0r:)r.r r!�	<genexpr>�szSet.__and__.<locals>.<genexpr>)rSr
r'r])r.rUr )r.r!�__and__�s
zSet.__and__cCsx|D]}||krdSqWdS)NFTr )r.rUr:r r r!�
isdisjoint�s
zSet.isdisjointcCs*t|t�stSdd�||fD�}|�|�S)Ncss|]}|D]
}|Vq
qdS)Nr )r^�s�er r r!r_�szSet.__or__.<locals>.<genexpr>)rSr
r'r])r.rU�chainr r r!�__or__�s
z
Set.__or__cs:t�t�s"t�t�stS|����|��fdd�|D��S)Nc3s|]}|�kr|VqdS)Nr )r^r:)rUr r!r_�szSet.__sub__.<locals>.<genexpr>)rSrr
r'r])r.rUr )rUr!�__sub__�s



zSet.__sub__cs:t|t�s"t|t�stS��|�}���fdd�|D��S)Nc3s|]}|�kr|VqdS)Nr )r^r:)r.r r!r_�szSet.__rsub__.<locals>.<genexpr>)rSrr
r'r])r.rUr )r.r!�__rsub__�s



zSet.__rsub__cCs2t|t�s"t|t�stS|�|�}||||BS)N)rSrr
r'r])r.rUr r r!�__xor__s



zSet.__xor__cCs�tj}d|d}t|�}d|d}||M}x4|D],}t|�}|||d>AdAdN}||M}q4W|dd}||M}||kr�||d8}|d	kr�d
}|S)N�riM��r�i�M[l�4~2i�
i��6���i��8#)�sys�maxsizerT�hash)r.�MAX�MASK�n�hrN�hxr r r!�_hash	s 
z	Set._hashN)r2r3r4r5rWrXrZrYr[r6r]r`�__rand__rare�__ror__rfrgrh�__rxor__rtr r r r!r�s"

	c@s`eZdZdZedd��Zedd��Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�Zdd�Zdd�Z
dS)rr cCst�dS)N)�NotImplementedError)r.r:r r r!�add:szMutableSet.addcCst�dS)N)rx)r.r:r r r!�discard?szMutableSet.discardcCs||krt|��|�|�dS)N)�KeyErrorrz)r.r:r r r!�removeDszMutableSet.removecCs>t|�}yt|�}Wntk
r.td�YnX|�|�|S)N)�iter�nextr9r{rz)r.r\r:r r r!�popJs
zMutableSet.popcCs,yx|��qWWntk
r&YnXdS)N)rr{)r.r r r!�clearTs
zMutableSet.clearcCsx|D]}|�|�qW|S)N)ry)r.r\r:r r r!�__ior__\s
zMutableSet.__ior__cCs x||D]}|�|�q
W|S)N)rz)r.r\r:r r r!�__iand__aszMutableSet.__iand__cCsV||kr|��n@t|t�s&|�|�}x*|D]"}||krD|�|�q,|�|�q,W|S)N)r�rSrr]rzry)r.r\r:r r r!�__ixor__fs



zMutableSet.__ixor__cCs.||kr|��nx|D]}|�|�qW|S)N)r�rz)r.r\r:r r r!�__isub__ss


zMutableSet.__isub__N)r2r3r4r5rryrzr|rr�r�r�r�r�r r r r!r,s

c@sReZdZdZedd��Zddd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dd�ZdZdS)rr cCst�dS)N)r{)r.�keyr r r!�__getitem__�szMapping.__getitem__NcCs"y||Stk
r|SXdS)N)r{)r.r��defaultr r r!�get�szMapping.getcCs*y||Wntk
r dSXdSdS)NFT)r{)r.r�r r r!rO�s
zMapping.__contains__cCst|�S)N)r)r.r r r!�keys�szMapping.keyscCst|�S)N)r)r.r r r!�items�sz
Mapping.itemscCst|�S)N)r)r.r r r!�values�szMapping.valuescCs&t|t�stSt|���t|���kS)N)rSrr'�dictr�)r.rUr r r!r[�s
zMapping.__eq__)N)
r2r3r4r5rr�r�rOr�r�r�r[rLr r r r!r�s

c@s(eZdZdZdd�Zdd�Zdd�ZdS)	r)�_mappingcCs
||_dS)N)r�)r.�mappingr r r!�__init__�szMappingView.__init__cCs
t|j�S)N)rTr�)r.r r r!rM�szMappingView.__len__cCs
d�|�S)Nz&{0.__class__.__name__}({0._mapping!r}))�format)r.r r r!�__repr__�szMappingView.__repr__N)r2r3r4r5r�rMr�r r r r!r�sc@s,eZdZdZedd��Zdd�Zdd�ZdS)	rr cCst|�S)N)�set)r.r\r r r!r]�szKeysView._from_iterablecCs
||jkS)N)r�)r.r�r r r!rO�szKeysView.__contains__ccs|jEdHdS)N)r�)r.r r r!rJ�szKeysView.__iter__N)r2r3r4r5r6r]rOrJr r r r!r�sc@s,eZdZdZedd��Zdd�Zdd�ZdS)	rr cCst|�S)N)r�)r.r\r r r!r]�szItemsView._from_iterablecCs@|\}}y|j|}Wntk
r*dSX||kp:||kSdS)NF)r�r{)r.�itemr�r:�vr r r!rO�szItemsView.__contains__ccs$x|jD]}||j|fVqWdS)N)r�)r.r�r r r!rJ�szItemsView.__iter__N)r2r3r4r5r6r]rOrJr r r r!r�s	c@s eZdZdZdd�Zdd�ZdS)rr cCs2x,|jD]"}|j|}||ks&||krdSqWdS)NTF)r�)r.r:r�r�r r r!rO�s

zValuesView.__contains__ccs x|jD]}|j|VqWdS)N)r�)r.r�r r r!rJ�szValuesView.__iter__N)r2r3r4r5rOrJr r r r!r�sc@s\eZdZdZedd��Zedd��Ze�Zefdd�Z	dd	�Z
d
d�Zdd
�Zddd�Z
dS)rr cCst�dS)N)r{)r.r�r:r r r!�__setitem__szMutableMapping.__setitem__cCst�dS)N)r{)r.r�r r r!�__delitem__szMutableMapping.__delitem__cCs<y||}Wn tk
r,||jkr(�|SX||=|SdS)N)r{�_MutableMapping__marker)r.r�r�r:r r r!rs
zMutableMapping.popcCsBytt|��}Wntk
r*td�YnX||}||=||fS)N)r~r}r9r{)r.r�r:r r r!�popitem$szMutableMapping.popitemcCs,yx|��qWWntk
r&YnXdS)N)r�r{)r.r r r!r�0s
zMutableMapping.clearcOs�|std��|^}}t|�dkr0tdt|���|r�|d}t|t�rbx^|D]}||||<qLWnDt|d�r�x8|��D]}||||<qvWnx|D]\}}|||<q�Wx|��D]\}}|||<q�WdS)Nz@descriptor 'update' of 'MutableMapping' object needs an argumentrz+update expected at most 1 arguments, got %drr�)�	TypeErrorrTrSr�hasattrr�r�)rPrQr.rUr�r:r r r!�update8s$


zMutableMapping.updateNcCs*y||Stk
r$|||<YnX|S)N)r{)r.r�r�r r r!�
setdefaultSs
zMutableMapping.setdefault)N)r2r3r4r5rr�r��objectr�rr�r�r�r�r r r r!r�sc@sFeZdZdZedd��Zdd�Zdd�Zdd	�Zddd
�Z	dd�Z
dS)rr cCst�dS)N)�
IndexError)r.�indexr r r!r�kszSequence.__getitem__ccs>d}y x||}|V|d7}qWWntk
r8dSXdS)Nrr)r�)r.�ir�r r r!rJoszSequence.__iter__cCs&x |D]}||ks||krdSqWdS)NTFr )r.r:r�r r r!rOys
zSequence.__contains__ccs(x"ttt|���D]}||VqWdS)N)�reversed�rangerT)r.r�r r r!rLszSequence.__reversed__rNcCs�|dk	r"|dkr"tt|�|d�}|dk	r>|dkr>|t|�7}|}xT|dksT||kr�y ||}||ksn||krr|SWntk
r�PYnX|d7}qDWt�dS)Nrr)�maxrTr��
ValueError)r.r:�start�stopr�r�r r r!r��szSequence.indexcst�fdd�|D��S)Nc3s"|]}|�ks|�krdVqdS)rNr )r^r�)r:r r!r_�sz!Sequence.count.<locals>.<genexpr>)�sum)r.r:r )r:r!�count�szSequence.count)rN)r2r3r4r5rr�rJrOrLr�r�r r r r!ras

c@seZdZdZdS)rr N)r2r3r4r5r r r r!r�sc@sneZdZdZedd��Zedd��Zedd��Zdd	�Zd
d�Z	dd
�Z
dd�Zddd�Zdd�Z
dd�ZdS)rr cCst�dS)N)r�)r.r�r:r r r!r��szMutableSequence.__setitem__cCst�dS)N)r�)r.r�r r r!r��szMutableSequence.__delitem__cCst�dS)N)r�)r.r�r:r r r!�insert�szMutableSequence.insertcCs|�t|�|�dS)N)r�rT)r.r:r r r!�append�szMutableSequence.appendcCs,yx|��qWWntk
r&YnXdS)N)rr�)r.r r r!r��s
zMutableSequence.clearcCsLt|�}x>t|d�D].}|||d||||<|||d<qWdS)Nrir)rTr�)r.rqr�r r r!�reverse�szMutableSequence.reversecCsx|D]}|�|�qWdS)N)r�)r.r�r�r r r!�extend�s
zMutableSequence.extendrkcCs||}||=|S)Nr )r.r�r�r r r!r�szMutableSequence.popcCs||�|�=dS)N)r�)r.r:r r r!r|�szMutableSequence.removecCs|�|�|S)N)r�)r.r�r r r!�__iadd__�s
zMutableSequence.__iadd__N)rk)r2r3r4r5rr�r�r�r�r�r�r�rr|r�r r r r!r�s	
)J�abcrrrl�__all__r2�typer}�bytes_iterator�	bytearray�bytearray_iteratorr��dict_keyiteratorr��dict_valueiteratorr��dict_itemiterator�
list_iteratorr��list_reverseiteratorr��range_iterator�longrange_iteratorr��set_iterator�str_iterator�tuple_iterator�zip�zip_iterator�	dict_keys�dict_values�
dict_itemsr&�mappingproxy�	generatorr#�	coroutinerCr$�async_generatorr-r	rr�registerrrrr
rr
rrrrrr�	frozensetrrrrrrrr�r�tuple�str�
memoryviewr�bytesr�listr r r r!�<module>	s�
	
)
0













/



O
2



\
=



	

A


?>