Your IP : 18.191.195.180


Current Path : /usr/lib64/python3.8/collections/__pycache__/
Upload File :
Current File : //usr/lib64/python3.8/collections/__pycache__/__init__.cpython-38.opt-2.pyc

U

e5dC��	@s"dddddddddg	Zd	d
lZd	dlmZmZd	dlmZ	d	d
l
Zd	d
lZ
d	d
lmZd	dlmZmZmZd	dlmZzd	dlmZWnek
r�YnXej�e�zd	dlm Z Wnek
r�YnXdd�Z!Gdd�dej"�Z#Gdd�dej$�Z%Gdd�dej&�Z'Gdd�de(�Z)Gdd�de*�Z+zd	dlm+Z+Wnek
�rRYnXzd	dlm,Z,Wnek
�r�dd �Z,YnXd!d
d
d"�d#d�Z-d$d%�Z.zd	d&lm.Z.Wnek
�r�YnXGd'd�de*�Z/Gd(d�dej0�Z1Gd)d�dej0�Z2Gd*d�dej�Z3Gd+d�dej4�Z5d
S),�deque�defaultdict�
namedtuple�UserDict�UserList�
UserString�Counter�OrderedDict�ChainMap�N)�
itemgetter�eq)�	iskeyword)�proxy)�repeat�chain�starmap)�recursive_repr)r)rcCsR|tjkr:tt|�}ddl}|jdtdd�|t�|<|Stdt�d|����dS)Nr
z�Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working���
stacklevelzmodule z has no attribute )	�_collections_abc�__all__�getattr�warnings�warn�DeprecationWarning�globals�AttributeError�__name__)�name�objr�r!�,/usr/lib64/python3.8/collections/__init__.py�__getattr__*s

�
r#c@seZdZdd�ZdS)�_OrderedDictKeysViewccst|j�EdHdS�N��reversed�_mapping��selfr!r!r"�__reversed__?sz!_OrderedDictKeysView.__reversed__N�r�
__module__�__qualname__r+r!r!r!r"r$=sr$c@seZdZdd�ZdS)�_OrderedDictItemsViewccs$t|j�D]}||j|fVq
dSr%r&�r*�keyr!r!r"r+Dsz"_OrderedDictItemsView.__reversed__Nr,r!r!r!r"r/Bsr/c@seZdZdd�ZdS)�_OrderedDictValuesViewccs t|j�D]}|j|Vq
dSr%r&r0r!r!r"r+Jsz#_OrderedDictValuesView.__reversed__Nr,r!r!r!r"r2Hsr2c@seZdZdZdS)�_Link)�prev�nextr1�__weakref__N)rr-r.�	__slots__r!r!r!r"r3Nsr3c@s�eZdZd*dd�Zejeefdd�Zejfdd�Zdd	�Z	d
d�Z
dd
�Zd+dd�Zd,dd�Z
dd�ZejjZZdd�Zdd�Zdd�ZejjZe�Zefdd�Zd-dd�Ze�d d!��Zd"d#�Zd$d%�Zed.d&d'��Z d(d)�Z!dS)/rr!cKs\z
|jWn>tk
rHt�|_t|j�|_}||_|_i|_YnX|j|f|�dSr%)	�_OrderedDict__rootrr3�_OrderedDict__hardroot�_proxyr4r5�_OrderedDict__map�_OrderedDict__update)r*�other�kwds�rootr!r!r"�__init__`s
zOrderedDict.__init__c	CsZ||krJ|�|j|<}|j}|j}||||_|_|_||_||�|_||||�dSr%)r;r8r4r5r1)	r*r1�valueZdict_setitemrZLink�linkr?�lastr!r!r"�__setitem__ms
zOrderedDict.__setitem__cCs>|||�|j�|�}|j}|j}||_||_d|_d|_dSr%)r;�popr4r5)r*r1Zdict_delitemrB�	link_prev�	link_nextr!r!r"�__delitem__{s
zOrderedDict.__delitem__ccs(|j}|j}||k	r$|jV|j}qdSr%)r8r5r1�r*r?Zcurrr!r!r"�__iter__�s
zOrderedDict.__iter__ccs(|j}|j}||k	r$|jV|j}qdSr%)r8r4r1rIr!r!r"r+�s
zOrderedDict.__reversed__cCs*|j}||_|_|j��t�|�dSr%)r8r4r5r;�clear�dict)r*r?r!r!r"rK�s
zOrderedDict.clearTcCsj|std��|j}|r0|j}|j}||_||_n|j}|j}||_||_|j}|j|=t�||�}||fS)Nzdictionary is empty)�KeyErrorr8r4r5r1r;rLrE)r*rCr?rBrFrGr1rAr!r!r"�popitem�s zOrderedDict.popitemc	Cst|j|}|j}|j}|j}||_||_|j}|rR|j}||_||_||_||_n|j}||_||_||_||_dSr%)r;r4r5r8)	r*r1rCrBrFrGZ	soft_linkr?�firstr!r!r"�move_to_end�s$
zOrderedDict.move_to_endcCsVtj}t|�d}||j�}|||j�d7}|||j�|7}|||j�|7}|S)N�r)�_sys�	getsizeof�len�__dict__r;r9r8)r*Zsizeof�n�sizer!r!r"�
__sizeof__�s
zOrderedDict.__sizeof__cCst|�Sr%)r$r)r!r!r"�keys�szOrderedDict.keyscCst|�Sr%)r/r)r!r!r"�items�szOrderedDict.itemscCst|�Sr%)r2r)r!r!r"�values�szOrderedDict.valuescCs0||kr||}||=|S||jkr,t|��|Sr%)�_OrderedDict__markerrM)r*r1�default�resultr!r!r"rE�s
zOrderedDict.popNcCs||kr||S|||<|Sr%r!�r*r1r]r!r!r"�
setdefault�szOrderedDict.setdefaultcCs*|sd|jjfSd|jjt|���fS)N�%s()z%s(%r))�	__class__r�listrZr)r!r!r"�__repr__szOrderedDict.__repr__cCsDt|���}tt��D]}|�|d�q|jd|p4ddt|���fS)Nr!)�vars�copyrrErb�iterrZ)r*Z	inst_dict�kr!r!r"�
__reduce__szOrderedDict.__reduce__cCs
|�|�Sr%�rbr)r!r!r"rfszOrderedDict.copycCs|�}|D]}|||<q
|Sr%r!)�cls�iterablerAr*r1r!r!r"�fromkeyss
zOrderedDict.fromkeyscCs2t|t�r&t�||�o$ttt||��St�||�Sr%)�
isinstancerrL�__eq__�all�map�_eq�r*r=r!r!r"ros
zOrderedDict.__eq__)r!)T)T)N)N)"rr-r.r@rLrDr:r3rHrJr+rKrNrPrXr�MutableMapping�updater<rYrZr[�__ne__�objectr\rEr`�_recursive_reprrdrirf�classmethodrmror!r!r!r"rQs6
�

		

	


)r)�_tuplegettercCstt|�|d�S)N)�doc)�property�_itemgetter)�indexr{r!r!r"�<lambda>7�rF)�rename�defaults�modulecs�t�t�r��dd����ttt����t�t|��}|r�t�}t	��D]B\}}|�
�rrt|�sr|�d�sr||kr�d|���|<|�
|�qH|g�D]D}t|�tk	r�td��|�
�s�td|����t|�r�td|����q�t�}�D]F}|�d��r
|�s
td|����||k�r"td|����|�
|�q�i}|dk	�r|t|�}t|�t��k�r^td	��ttttt��t|�����}tttj����t���t���d
d�dd
�}	dd�dd��D��d�tj�tttttf\�����d|	�d|	�d�}
�d|��d�}t|
|�|d}d|�d|	�d�|_|dk	�r>||_t���fdd��}
d|�d�|
j_��fdd�}d |�d!�|_�fd"d#�}��fd$d%�}�fd&d'�}||
j||||fD]}|�d(|j��|_�q�|�d|	�d�d)�||||
||||d*�}t	��D](\}}t�d+|���}t ||�||<�qt|tf|�}|dk�rvzt�!d�j"�#d,d-�}Wnt$tfk
�rtYnX|dk	�r�||_%|S).N�,� �_z*Type names and field names must be stringsz6Type names and field names must be valid identifiers: z0Type names and field names cannot be a keyword: z-Field names cannot start with an underscore: z"Encountered duplicate field name: z(Got more default values than field names�'�rQ����(�, css|]}|�d�VqdS)z=%rNr!)�.0rr!r!r"�	<genexpr>�sznamedtuple.<locals>.<genexpr>�)zdef __new__(_cls, z): return _tuple_new(_cls, (z))�namedtuple_)�
_tuple_newr�__new__zCreate new instance of cs2�||�}�|��kr.td��dt|�����|S)Nz	Expected z arguments, got )�	TypeErrorrT)rkrlr^)�_len�
num_fields�	tuple_newr!r"�_make�s
znamedtuple.<locals>._makezMake a new z# object from a sequence or iterablecs.|��|j�|��}|r*tdt|�����|S)NzGot unexpected field names: )r�rE�
ValueErrorrc)r*r>r^)�_map�field_namesr!r"�_replace�sznamedtuple.<locals>._replacez
Return a new z2 object replacing specified fields with new valuescs|jj�|Sr%)rbrr))�repr_fmtr!r"rd�sznamedtuple.<locals>.__repr__cs��|j|��Sr%)�_fieldsr))�_dict�_zipr!r"�_asdict�sznamedtuple.<locals>._asdictcs�|�Sr%r!r))�_tupler!r"�__getnewargs__�sz"namedtuple.<locals>.__getnewargs__�.r!)�__doc__r7r��_field_defaults�_fields_defaultsr�r�r�rdr�r�zAlias for field number r�__main__)&rn�str�replace�splitrcrqrR�intern�set�	enumerate�isidentifier�
_iskeyword�
startswith�add�typer�r��tuplerTrLr'�zip�repr�joinr��execr��__defaults__ry�__func__rr.rz�	_getframe�	f_globals�getrr-)�typenamer�r�r�r��seenr~r�field_defaults�arg_list�s�	namespacer�r�r�rdr�r��method�class_namespacer{r^r!)	r�r�r�r�r�r�r�r�r�r"r9s�
���

�


��

cCs&|j}|D]}||d�d||<q
dS�Nr
rQ)r�)�mappingrlZmapping_get�elemr!r!r"�_count_elements�sr�)r�cs�eZdZd.�fdd�	Zdd�Zd/dd�Zdd	�Zed0d
d��Zd1�fdd
�	Z	d2dd�Z
dd�Zdd�Z�fdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Z�ZS)3rNcs tt|���|j|f|�dSr%)�superrr@ru)r*rlr>rjr!r"r@szCounter.__init__cCsdS�Nr
r!r0r!r!r"�__missing__*szCounter.__missing__cCs6|dkrt|��td�dd�Stj||��td�d�S)NrQT)r1�reverse�r1)�sortedrZr}�_heapq�nlargest�r*rVr!r!r"�most_common/s	zCounter.most_commoncCst�tt|����Sr%)�_chain�
from_iterable�_starmap�_repeatrZr)r!r!r"�elements<szCounter.elementscCstd��dS)Nz@Counter.fromkeys() is undefined.  Use Counter(iterable) instead.)�NotImplementedError)rkrl�vr!r!r"rmTs	�zCounter.fromkeyscsr|dk	r`t|tj�rV|rD|j}|��D]\}}|||d�||<q&q`tt|��|�n
t||�|rn|�|�dSr�)	rnr�Mappingr�rZr�rrur��r*rlr>�self_getr��countrjr!r"ru`s
zCounter.updatecKsn|dk	r\|j}t|tj�r@|��D]\}}||d�|||<q"n|D]}||d�d||<qD|rj|�|�dSr�)r�rnrr�rZ�subtractr�r!r!r"r��szCounter.subtractcCs
|�|�Sr%rjr)r!r!r"rf�szCounter.copycCs|jt|�ffSr%)rbrLr)r!r!r"ri�szCounter.__reduce__cs||krt��|�dSr%)r�rH)r*r�rjr!r"rH�szCounter.__delitem__cCsf|sd|jjSz(d�tdj|����}d|jj|fWStk
r`d�|jjt|��YSXdS)Nrar�z%r: %rz%s({%s})z
{0}({1!r}))	rbrr�rq�__mod__r�r��formatrL)r*rZr!r!r"rd�szCounter.__repr__cCspt|t�stSt�}|��D]$\}}|||}|dkr|||<q|��D] \}}||krJ|dkrJ|||<qJ|Sr��rnr�NotImplementedrZ�r*r=r^r�r��newcountr!r!r"�__add__�s


zCounter.__add__cCstt|t�stSt�}|��D]$\}}|||}|dkr|||<q|��D]$\}}||krJ|dkrJd|||<qJ|Sr�r�r�r!r!r"�__sub__�s

zCounter.__sub__cCs|t|t�stSt�}|��D]0\}}||}||kr8|n|}|dkr|||<q|��D] \}}||krV|dkrV|||<qV|Sr�r��r*r=r^r�r��other_countr�r!r!r"�__or__�s


zCounter.__or__cCsRt|t�stSt�}|��D]0\}}||}||kr8|n|}|dkr|||<q|Sr�r�r�r!r!r"�__and__�s

zCounter.__and__cCs,t�}|��D]\}}|dkr|||<q|Sr��rrZ�r*r^r�r�r!r!r"�__pos__
s

zCounter.__pos__cCs0t�}|��D]\}}|dkrd|||<q|Sr�r�r�r!r!r"�__neg__s
zCounter.__neg__cCs&dd�|��D�}|D]
}||=q|S)NcSsg|]\}}|dks|�qS)r
r!)r�r�r�r!r!r"�
<listcomp>"sz*Counter._keep_positive.<locals>.<listcomp>)rZ)r*�nonpositiver�r!r!r"�_keep_positive szCounter._keep_positivecCs*|��D]\}}|||7<q|��Sr%�rZr��r*r=r�r�r!r!r"�__iadd__'s	zCounter.__iadd__cCs*|��D]\}}|||8<q|��Sr%r�r�r!r!r"�__isub__4s	zCounter.__isub__cCs2|��D] \}}||}||kr|||<q|��Sr%r�)r*r=r�r�r�r!r!r"�__ior__As
	
zCounter.__ior__cCs2|��D] \}}||}||kr|||<q|��Sr%r�)r*r=r�r�r�r!r!r"�__iand__Ps
	
zCounter.__iand__)N)N)N)N)N)rr-r.r@r�r�r�ryrmrur�rfrirHrdr�r�r�r�r�r�r�r�r�r�r��
__classcell__r!r!rjr"r�s.3

!


c@s�eZdZdd�Zdd�Zdd�Zd&dd	�Zd
d�Zdd
�Zdd�Z	dd�Z
e�dd��Ze
dd��Zdd�ZeZd'dd�Zedd��Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�ZdS)(r	cGst|�pig|_dSr%)rc�maps)r*r�r!r!r"r@rszChainMap.__init__cCst|��dSr%)rMr0r!r!r"r�yszChainMap.__missing__c	Cs:|jD](}z||WStk
r,YqXq|�|�Sr%)r�rMr�)r*r1r�r!r!r"�__getitem__|s
zChainMap.__getitem__NcCs||kr||S|Sr%r!r_r!r!r"r��szChainMap.getcCstt�j|j��Sr%)rTr��unionr�r)r!r!r"�__len__�szChainMap.__len__cCs&i}t|j�D]}|�|�qt|�Sr%)r'r�rurg)r*�dr�r!r!r"rJ�szChainMap.__iter__cst�fdd�|jD��S)Nc3s|]}�|kVqdSr%r!)r��mr�r!r"r��sz(ChainMap.__contains__.<locals>.<genexpr>��anyr�r0r!r�r"�__contains__�szChainMap.__contains__cCs
t|j�Sr%r�r)r!r!r"�__bool__�szChainMap.__bool__cCs"|jj�dd�tt|j���d�S)Nr�r�r�)rbrr�rqr�r�r)r!r!r"rd�szChainMap.__repr__cGs|tj|f|���Sr%)rLrm)rkrl�argsr!r!r"rm�szChainMap.fromkeyscCs$|j|jd��f|jdd���Sr�)rbr�rfr)r!r!r"rf�sz
ChainMap.copycCs|dkri}|j|f|j��Sr%�rbr�)r*r�r!r!r"�	new_child�szChainMap.new_childcCs|j|jdd��S)NrQrr)r!r!r"�parents�szChainMap.parentscCs||jd|<dSr�)r�)r*r1rAr!r!r"rD�szChainMap.__setitem__cCs8z|jd|=Wn"tk
r2td�|���YnXdS�Nr
z(Key not found in the first mapping: {!r})r�rMr�r0r!r!r"rH�szChainMap.__delitem__cCs2z|jd��WStk
r,td��YnXdS)Nr
z#No keys found in the first mapping.)r�rNrMr)r!r!r"rN�szChainMap.popitemcGs@z|jdj|f|��WStk
r:td�|���YnXdSr)r�rErMr�)r*r1rr!r!r"rE�szChainMap.popcCs|jd��dSr�)r�rKr)r!r!r"rK�szChainMap.clear)N)N)rr-r.r@r�r�r�r�rJrrrxrdryrmrf�__copy__rr|rrDrHrNrErKr!r!r!r"r	ds,




c@speZdZdd�Zde_dd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dd�Zdd�Zdd�Z
eddd��ZdS)rcOs�|std��|^}}t|�dkr0tdt|���|r>|d}n0d|krj|�d�}ddl}|jdtdd�nd}i|_|dk	r�|�|�|r�|�|�dS)	Nz<descriptor '__init__' of 'UserDict' object needs an argumentrQz$expected at most 1 arguments, got %dr
rLz0Passing 'dict' as keyword argument is deprecatedrr)r�rTrErrr�dataru)r�kwargsr*rLrr!r!r"r@�s(

�
zUserDict.__init__z($self, dict=None, /, **kwargs)cCs
t|j�Sr%�rTrr)r!r!r"r��r�zUserDict.__len__cCs:||jkr|j|St|jd�r.|j�||�St|��dS)Nr�)r�hasattrrbr�rMr0r!r!r"r��s


zUserDict.__getitem__cCs||j|<dSr%�r)r*r1�itemr!r!r"rD�r�zUserDict.__setitem__cCs|j|=dSr%rr0r!r!r"rH�r�zUserDict.__delitem__cCs
t|j�Sr%)rgrr)r!r!r"rJ�szUserDict.__iter__cCs
||jkSr%rr0r!r!r"r�szUserDict.__contains__cCs
t|j�Sr%�r�rr)r!r!r"rd�r�zUserDict.__repr__cCs4|j�|j�}|j�|j�|jd��|jd<|S�Nr)rbr�rUrurf�r*�instr!r!r"r�szUserDict.__copy__cCsR|jtkrt|j���Sddl}|j}zi|_|�|�}W5||_X|�|�|Sr�)rbrrrfru)r*rfr�cr!r!r"rfs

z
UserDict.copyNcCs|�}|D]}|||<q
|Sr%r!)rkrlrAr�r1r!r!r"rms
zUserDict.fromkeys)N)rr-r.r@�__text_signature__r�r�rDrHrJrrdrrfryrmr!r!r!r"r�s
c@seZdZd?dd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�ZeZd$d%�Zd&d'�Zd(d)�Zd*d+�Zd@d-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7d8�Zd9d:�Zd;d<�Z d=d>�Z!dS)ArNcCsbg|_|dk	r^t|�t|j�kr0||jdd�<n.t|t�rT|jdd�|jdd�<n
t|�|_dSr%)rr�rnrrc)r*�initlistr!r!r"r@!s
zUserList.__init__cCs
t|j�Sr%rr)r!r!r"rd+r�zUserList.__repr__cCs|j|�|�kSr%�r�_UserList__castrsr!r!r"�__lt__,r�zUserList.__lt__cCs|j|�|�kSr%rrsr!r!r"�__le__-r�zUserList.__le__cCs|j|�|�kSr%rrsr!r!r"ro.r�zUserList.__eq__cCs|j|�|�kSr%rrsr!r!r"�__gt__/r�zUserList.__gt__cCs|j|�|�kSr%rrsr!r!r"�__ge__0r�zUserList.__ge__cCst|t�r|jS|Sr%)rnrrrsr!r!r"�__cast1szUserList.__castcCs
||jkSr%r�r*r
r!r!r"r3r�zUserList.__contains__cCs
t|j�Sr%r
r)r!r!r"r�4r�zUserList.__len__cCs(t|t�r|�|j|�S|j|SdSr%)rn�slicerbr�r*�ir!r!r"r�5s
zUserList.__getitem__cCs||j|<dSr%r�r*rr
r!r!r"rD:r�zUserList.__setitem__cCs|j|=dSr%rrr!r!r"rH;r�zUserList.__delitem__cCsPt|t�r|�|j|j�St|t|j��r<|�|j|�S|�|jt|��Sr%�rnrrbrr�rcrsr!r!r"r�<s

zUserList.__add__cCsPt|t�r|�|j|j�St|t|j��r<|�||j�S|�t|�|j�Sr%r!rsr!r!r"�__radd__Bs

zUserList.__radd__cCsRt|t�r|j|j7_n2t|t|j��r<|j|7_n|jt|�7_|Sr%)rnrrr�rcrsr!r!r"r�Hs
zUserList.__iadd__cCs|�|j|�Sr%�rbrr�r!r!r"�__mul__PszUserList.__mul__cCs|j|9_|Sr%rr�r!r!r"�__imul__SszUserList.__imul__cCs8|j�|j�}|j�|j�|jddd�|jd<|Sr)rbr�rUrurr!r!r"rVszUserList.__copy__cCs|j�|�dSr%)r�appendrr!r!r"r&\r�zUserList.appendcCs|j�||�dSr%)r�insertr r!r!r"r']r�zUserList.insertr�cCs|j�|�Sr%)rrErr!r!r"rE^r�zUserList.popcCs|j�|�dSr%)r�removerr!r!r"r(_r�zUserList.removecCs|j��dSr%)rrKr)r!r!r"rK`r�zUserList.clearcCs
|�|�Sr%rjr)r!r!r"rfar�z
UserList.copycCs|j�|�Sr%)rr�rr!r!r"r�br�zUserList.countcGs|jj|f|��Sr%�rr~)r*r
rr!r!r"r~cr�zUserList.indexcCs|j��dSr%)rr�r)r!r!r"r�dr�zUserList.reversecOs|jj||�dSr%)r�sort�r*rr>r!r!r"r*er�z
UserList.sortcCs*t|t�r|j�|j�n|j�|�dSr%)rnrr�extendrsr!r!r"r,fs
zUserList.extend)N)r�)"rr-r.r@rdrrrorrrrr�r�rDrHr�r"r�r$�__rmul__r%rr&r'rEr(rKrfr�r~r�r*r,r!r!r!r"rs>


c@sheZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�ZeZd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd1ejfd2d3�Zd�d6d7�Zd1ejfd8d9�Z d�d;d<�Z!d1ejfd=d>�Z"d?d@�Z#dAdB�Z$d1ejfdCdD�Z%dEdF�Z&dGdH�Z'dIdJ�Z(dKdL�Z)dMdN�Z*dOdP�Z+dQdR�Z,dSdT�Z-dUdV�Z.dWdX�Z/dYdZ�Z0d[d\�Z1d]d^�Z2d_d`�Z3dadb�Z4d�ddde�Z5e6j7Z7dfdg�Z8d�didj�Z9d1ejfdkdl�Z:d1ejfdmdn�Z;dodp�Z<dqdr�Z=d�dsdt�Z>d�dudv�Z?d�dwdx�Z@d�dzd{�ZAd1ejfd|d}�ZBd�d~d�ZCd�d��ZDd�d��ZEd�d��ZFd�d��ZGd�d��ZHdcS)�rcCs<t|t�r||_n&t|t�r.|jdd�|_n
t|�|_dSr%)rnr�rr�r*�seqr!r!r"r@ss


zUserString.__init__cCs
t|j�Sr%)r�rr)r!r!r"�__str__zr�zUserString.__str__cCs
t|j�Sr%rr)r!r!r"rd{r�zUserString.__repr__cCs
t|j�Sr%)�intrr)r!r!r"�__int__|r�zUserString.__int__cCs
t|j�Sr%)�floatrr)r!r!r"�	__float__}r�zUserString.__float__cCs
t|j�Sr%)�complexrr)r!r!r"�__complex__~r�zUserString.__complex__cCs
t|j�Sr%)�hashrr)r!r!r"�__hash__r�zUserString.__hash__cCs|jdd�fSr%rr)r!r!r"r��szUserString.__getnewargs__cCs t|t�r|j|jkS|j|kSr%�rnrr�r*�stringr!r!r"ro�s
zUserString.__eq__cCs t|t�r|j|jkS|j|kSr%r9r:r!r!r"r�s
zUserString.__lt__cCs t|t�r|j|jkS|j|kSr%r9r:r!r!r"r�s
zUserString.__le__cCs t|t�r|j|jkS|j|kSr%r9r:r!r!r"r�s
zUserString.__gt__cCs t|t�r|j|jkS|j|kSr%r9r:r!r!r"r�s
zUserString.__ge__cCst|t�r|j}||jkSr%r9)r*�charr!r!r"r�s
zUserString.__contains__cCs
t|j�Sr%r
r)r!r!r"r��r�zUserString.__len__cCs|�|j|�Sr%r#)r*r~r!r!r"r��r�zUserString.__getitem__cCsJt|t�r|�|j|j�St|t�r6|�|j|�S|�|jt|��Sr%)rnrrbrr�rsr!r!r"r��s


zUserString.__add__cCs.t|t�r|�||j�S|�t|�|j�Sr%)rnr�rbrrsr!r!r"r"�s
zUserString.__radd__cCs|�|j|�Sr%r#r�r!r!r"r$�szUserString.__mul__cCs|�|j|�Sr%r#�r*rr!r!r"r��szUserString.__mod__cCs|�t|�|�Sr%)rbr�)r*�templater!r!r"�__rmod__�szUserString.__rmod__cCs|�|j���Sr%)rbr�
capitalizer)r!r!r"r@�r�zUserString.capitalizecCs|�|j���Sr%)rbr�casefoldr)r!r!r"rA�szUserString.casefoldcGs|�|jj|f|���Sr%)rbr�center�r*�widthrr!r!r"rB�szUserString.centerr
cCs t|t�r|j}|j�|||�Sr%)rnrrr��r*�sub�start�endr!r!r"r��s
zUserString.count�utf-8�strictcCs.|dkrdn|}|dkrdn|}|j�||�S)NrIrJ)r�encode)r*�encoding�errorsr!r!r"rK�szUserString.encodecCs|j�|||�Sr%)r�endswith)r*�suffixrGrHr!r!r"rN�szUserString.endswith�cCs|�|j�|��Sr%)rbr�
expandtabs)r*�tabsizer!r!r"rQ�szUserString.expandtabscCs t|t�r|j}|j�|||�Sr%)rnrr�findrEr!r!r"rS�s
zUserString.findcOs|jj||�Sr%)rr�r+r!r!r"r��szUserString.formatcCs|j�|�Sr%)r�
format_map)r*r�r!r!r"rT�szUserString.format_mapcCs|j�|||�Sr%r)rEr!r!r"r~�szUserString.indexcCs
|j��Sr%)r�isalphar)r!r!r"rU�r�zUserString.isalphacCs
|j��Sr%)r�isalnumr)r!r!r"rV�r�zUserString.isalnumcCs
|j��Sr%)r�isasciir)r!r!r"rW�r�zUserString.isasciicCs
|j��Sr%)r�	isdecimalr)r!r!r"rX�r�zUserString.isdecimalcCs
|j��Sr%)r�isdigitr)r!r!r"rY�r�zUserString.isdigitcCs
|j��Sr%)rr�r)r!r!r"r��r�zUserString.isidentifiercCs
|j��Sr%)r�islowerr)r!r!r"rZ�r�zUserString.islowercCs
|j��Sr%)r�	isnumericr)r!r!r"r[�r�zUserString.isnumericcCs
|j��Sr%)r�isprintabler)r!r!r"r\�r�zUserString.isprintablecCs
|j��Sr%)r�isspacer)r!r!r"r]�r�zUserString.isspacecCs
|j��Sr%)r�istitler)r!r!r"r^�r�zUserString.istitlecCs
|j��Sr%)r�isupperr)r!r!r"r_�r�zUserString.isuppercCs|j�|�Sr%)rr�r.r!r!r"r��r�zUserString.joincGs|�|jj|f|���Sr%)rbr�ljustrCr!r!r"r`�szUserString.ljustcCs|�|j���Sr%)rbr�lowerr)r!r!r"ra�r�zUserString.lowerNcCs|�|j�|��Sr%)rbr�lstrip�r*�charsr!r!r"rb�r�zUserString.lstripcCs|j�|�Sr%)r�	partition�r*�sepr!r!r"re�szUserString.partitionr�cCs6t|t�r|j}t|t�r |j}|�|j�|||��Sr%)rnrrrbr�)r*�old�new�maxsplitr!r!r"r��s


zUserString.replacecCs t|t�r|j}|j�|||�Sr%)rnrr�rfindrEr!r!r"rk�s
zUserString.rfindcCs|j�|||�Sr%)r�rindexrEr!r!r"rl�szUserString.rindexcGs|�|jj|f|���Sr%)rbr�rjustrCr!r!r"rm�szUserString.rjustcCs|j�|�Sr%)r�
rpartitionrfr!r!r"rn�szUserString.rpartitioncCs|�|j�|��Sr%)rbr�rstriprcr!r!r"ro�szUserString.rstripcCs|j�||�Sr%)rr��r*rgrjr!r!r"r��szUserString.splitcCs|j�||�Sr%)r�rsplitrpr!r!r"rq�szUserString.rsplitFcCs|j�|�Sr%)r�
splitlines)r*�keependsr!r!r"rr�r�zUserString.splitlinescCs|j�|||�Sr%)rr�)r*�prefixrGrHr!r!r"r��szUserString.startswithcCs|�|j�|��Sr%)rbr�striprcr!r!r"ru�r�zUserString.stripcCs|�|j���Sr%)rbr�swapcaser)r!r!r"rv�r�zUserString.swapcasecCs|�|j���Sr%)rbr�titler)r!r!r"rw�r�zUserString.titlecGs|�|jj|��Sr%)rbr�	translater=r!r!r"rx�szUserString.translatecCs|�|j���Sr%)rbr�upperr)r!r!r"ry�r�zUserString.uppercCs|�|j�|��Sr%)rbr�zfill)r*rDr!r!r"rz�r�zUserString.zfill)rIrJ)rP)N)r�)N)Nr�)Nr�)F)N)Irr-r.r@r0rdr2r4r6r8r�rorrrrrr�r�r�r"r$r-r�r?r@rArBrR�maxsizer�rKrNrQrSr�rTr~rUrVrWrXrYr�rZr[r\r]r^r_r�r`rarbr��	maketransrer�rkrlrmrnror�rqrrr�rurvrwrxryrzr!r!r!r"rrs�








)6rr�operatorrr}rrr�keywordr
r��sysrR�heapqr��_weakrefrr:�	itertoolsrr�rr�rr��reprlibrrx�_collectionsr�ImportError�MutableSequence�registerrr#�KeysViewr$�	ItemsViewr/�
ValuesViewr2rwr3rLrrzrr�rrtr	rr�Sequencerr!r!r!r"�<module>sf
�Y&}nMS

?>