ó zfc@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„Z d„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 /usr/lib64/python2.7/UserDict.pyt__init__s(          cCs t|jƒS(N(treprR (R((s /usr/lib64/python2.7/UserDict.pyt__repr__tcCs6t|tƒr"t|j|jƒSt|j|ƒSdS(N(t isinstanceRtcmpR (RR((s /usr/lib64/python2.7/UserDict.pyt__cmp__scCs t|jƒS(N(RR (R((s /usr/lib64/python2.7/UserDict.pyt__len__"RcCsO||jkr|j|St|jdƒr?|jj||ƒSt|ƒ‚dS(Nt __missing__(R thasattrt __class__RtKeyError(Rtkey((s /usr/lib64/python2.7/UserDict.pyt __getitem__#s  cCs||j|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|t iƒƒst |d ƒ r|j j |ƒn'x$|j ƒD]\}}|||RR%R(RRF((s /usr/lib64/python2.7/UserDict.pyRÎs  cCst|jƒƒS(N(RR#(R((s /usr/lib64/python2.7/UserDict.pyRÔsN(R7R8R=R)R1R%R&R'R(R$R R R/RR0R R.RRR(((s /usr/lib64/python2.7/UserDict.pyR>xs"               (((t__doc__RR;t_abcolltMutableMappingtregisterR>(((s /usr/lib64/python2.7/UserDict.pyts m