MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 3.138.188.86
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib/python2.7/site-packages/pip/compat/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib/python2.7/site-packages/pip/compat/ordereddict.pyc
�
r2Wc@s-ddlmZdeefd��YZdS(i����(t	DictMixintOrderedDictcBs�eZd�Zd�Zd�Zd�Zd�Zd�Zed�Z	d�Z
d�Zej
Z
ejZejZejZejZejZejZejZd	�Zd
�Zedd��Zd�Zd
�ZRS(cOsht|�dkr+tdt|���ny|jWntk
rS|j�nX|j||�dS(Nis$expected at most 1 arguments, got %d(tlent	TypeErrort_OrderedDict__endtAttributeErrortcleartupdate(tselftargstkwds((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyt__init__s
cCs:g|_}|d||g7}i|_tj|�dS(N(RtNonet_OrderedDict__maptdictR(Rtend((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyR&s
	cCs_||krH|j}|d}|||g|d<|d<|j|<ntj|||�dS(Nii(RR
Rt__setitem__(RtkeytvalueRtcurr((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyR,s
	
)cCsCtj||�|jj|�\}}}||d<||d<dS(Nii(Rt__delitem__R
tpop(RRtprevtnext((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyR3s
ccs=|j}|d}x#||k	r8|dV|d}qWdS(Nii(R(RRR((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyt__iter__9s
	
	ccs=|j}|d}x#||k	r8|dV|d}qWdS(Nii(R(RRR((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyt__reversed__@s
	
	cCs[|std��n|r0t|�j�}nt|�j�}|j|�}||fS(Nsdictionary is empty(tKeyErrortreversedRtiterR(RtlastRR((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pytpopitemGscCs�g|D]}|||g^q}|j|jf}|`|`t|�j�}|\|_|_|r~|j|f|fS|j|ffS(N(R
Rtvarstcopyt	__class__(Rtktitemsttmpt	inst_dict((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyt
__reduce__Qs#cCs
t|�S(N(tlist(R((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pytkeys[scCs1|sd|jjfSd|jj|j�fS(Ns%s()s%s(%r)(R!t__name__R#(R((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyt__repr__gscCs
|j|�S(N(R!(R((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyR lscCs(|�}x|D]}|||<qW|S(N((tclstiterableRtdR((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pytfromkeysos	
cCs{t|t�rkt|�t|�kr+tSx9t|j�|j��D]\}}||krGtSqGWtStj||�S(N(	t
isinstanceRRtFalsetzipR#tTrueRt__eq__(Rtothertptq((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyR3vs(cCs||kS(N((RR4((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyt__ne__�sN(R)t
__module__RRRRRRR2RR&R(Rt
setdefaultRRtvaluesR#titerkeyst
itervaluest	iteritemsR*R tclassmethodRR.R3R7(((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyRs.							
	
												
N(tUserDictRRR(((s:/usr/lib/python2.7/site-packages/pip/compat/ordereddict.pyt<module>s

MMCT - 2023