AlkantarClanX12

Your IP : 3.133.148.76


Current Path : /opt/alt/python27/lib64/python2.7/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/UserDict.pyo

�
^
bc@sbdZdd	d��YZdefd��YZddlZejje�dd
d��YZdS(sGA more or less complete user-defined wrapper around dictionary objects.tUserDictcBs�eZd�Zd�Zd�ZdZd�Zd�Zd�Z	d�Z
d�Zd�Zd	�Z
d
�Zd�Zd�Zd
�Zd�Zd�Zd�Zdd�Zdd�Zd�Zd�Zd�Zedd��ZRS(cOs�|std��n|d}|d}t|�dkrTtdt|���n|rg|d}nFd|kr�|jd�}ddl}|jdtdd	�nd}i|_|dk	r�|j|�nt|�r�|j|�ndS(
Ns<descriptor '__init__' of 'UserDict' object needs an argumentiis$expected at most 1 arguments, got %dtdicti����s0Passing 'dict' as keyword argument is deprecatedt
stackleveli(	t	TypeErrortlentpoptwarningstwarntPendingDeprecationWarningtNonetdatatupdate(targstkwargstselfRR((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__init__s(


	
	cCs
t|j�S(N(treprR
(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__repr__tcCs6t|t�r"t|j|j�St|j|�SdS(N(t
isinstanceRtcmpR
(RR((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__cmp__scCs
t|j�S(N(RR
(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__len__"RcCsO||jkr|j|St|jd�r?|jj||�St|��dS(Nt__missing__(R
thasattrt	__class__RtKeyError(Rtkey((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__getitem__#s
cCs||j|<dS(N(R
(RRtitem((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__setitem__)RcCs|j|=dS(N(R
(RR((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__delitem__*RcCs|jj�dS(N(R
tclear(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR +RcCsq|jtkr"t|jj��Sddl}|j}zi|_|j|�}Wd||_X|j|�|S(Ni����(RRR
tcopyR(RR!R
tc((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR!,s		

cCs
|jj�S(N(R
tkeys(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR#8RcCs
|jj�S(N(R
titems(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR$9RcCs
|jj�S(N(R
t	iteritems(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR%:RcCs
|jj�S(N(R
titerkeys(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR&;RcCs
|jj�S(N(R
t
itervalues(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR'<RcCs
|jj�S(N(R
tvalues(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR(=RcCs
||jkS(N(R
(RR((s-/opt/alt/python27/lib64/python2.7/UserDict.pythas_key>RcOsc|std��n|d}|d}t|�dkrTtdt|���n|rg|d}nFd|kr�|jd�}ddl}|jdtdd	�nd}|dkr�n�t|t�r�|j	j
|j	�n_t|ti��st|d
�r|j	j
|�n'x$|j
�D]\}}|||<q&Wt|�r_|j	j
|�ndS(Ns:descriptor 'update' of 'UserDict' object needs an argumentiis$expected at most 1 arguments, got %dRi����s0Passing 'dict' as keyword argument is deprecatedRiR$(RRRRRRR	RRR
RttypeRR$(RR
RRRtktv((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR?s0


	%cCs||kr|S||S(N((RRtfailobj((s-/opt/alt/python27/lib64/python2.7/UserDict.pytget[scCs!||kr|||<n||S(N((RRR-((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt
setdefault_s
cGs|jj||�S(N(R
R(RRR((s-/opt/alt/python27/lib64/python2.7/UserDict.pyRcscCs
|jj�S(N(R
tpopitem(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR0escCs
||jkS(N(R
(RR((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__contains__gscCs(|�}x|D]}|||<qW|S(N((tclstiterabletvaluetdR((s-/opt/alt/python27/lib64/python2.7/UserDict.pytfromkeysis	
N(t__name__t
__module__RRRR	t__hash__RRRRR R!R#R$R%R&R'R(R)RR.R/RR0R1tclassmethodR6(((s-/opt/alt/python27/lib64/python2.7/UserDict.pyRs2																				tIterableUserDictcBseZd�ZRS(cCs
t|j�S(N(titerR
(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt__iter__qs(R7R8R=(((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR;psi����Nt	DictMixincBs�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
dd	�Zd
�Z
d�Zdd�Zdd
�Zd�Zd�Zd�ZRS(ccs x|j�D]}|Vq
WdS(N(R#(RR+((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR=�scCs%y||Wntk
r tSXtS(N(RtFalsetTrue(RR((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR)�s

cCs
|j|�S(N(R)(RR((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR1�sccs$x|D]}|||fVqWdS(N((RR+((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR%�s
cCs
|j�S(N(R=(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR&�sccs&x|j�D]\}}|Vq
WdS(N(R%(Rt_R,((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR'�scCs#g|j�D]\}}|^q
S(N(R%(RRAR,((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR(�scCst|j��S(N(tlistR%(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR$�scCs"x|j�D]
}||=q
WdS(N(R#(RR((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR �scCs.y||SWntk
r)|||<nX|S(N(R(RRtdefault((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR/�s

cGspt|�dkr2tdtdt|���ny||}Wn"tk
rd|r^|dS�nX||=|S(Nis&pop expected at most 2 arguments, got i(RRRR(RRRR4((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR�s
cCsJy|j�j�\}}Wntk
r8td�nX||=||fS(Nscontainer is empty(R%tnextt
StopIterationR(RR+R,((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR0�s

cKs�|dkrn�t|d�rHx|j�D]\}}|||<q+WnXt|d�rxF|j�D]}||||<qdWn!x|D]\}}|||<q�W|r�|j|�ndS(NR%R#(R	RR%R#R(RtotherR
R+R,((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR�scCs%y||SWntk
r |SXdS(N(R(RRRC((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR.�s
cCstt|j���S(N(RRR%(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR�scCsM|dkrdSt|t�r4t|j��}ntt|j��|�S(Ni(R	RR>RR%R(RRF((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR�s
cCst|j��S(N(RR#(R((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR�sN(R7R8R=R)R1R%R&R'R(R$R R	R/RR0RR.RRR(((s-/opt/alt/python27/lib64/python2.7/UserDict.pyR>xs"														(((t__doc__RR;t_abcolltMutableMappingtregisterR>(((s-/opt/alt/python27/lib64/python2.7/UserDict.pyt<module>s
m