mfc@sbdZdd dYZdefdYZddlZejjedd dYZdS( sGA more or less complete user-defined wrapper around dictionary objects.tUserDictcBseZddZdZdZdZdZdZdZ dZ dZ dZ d Z d Zd Zd Zd ZdZdZddZddZddZdZdZdZeddZRS(cKsEi|_|dk r%|j|nt|rA|j|ndS(N(tdatatNonetupdatetlen(tselftdicttkwargs((s /usr/lib64/python2.7/UserDict.pyt__init__s    cCs t|jS(N(treprR(R((s /usr/lib64/python2.7/UserDict.pyt__repr__ scCs6t|tr"t|j|jSt|j|SdS(N(t isinstanceRtcmpR(RR((s /usr/lib64/python2.7/UserDict.pyt__cmp__ scCs t|jS(N(RR(R((s /usr/lib64/python2.7/UserDict.pyt__len__scCsO||jkr|j|St|jdr?|jj||St|dS(Nt __missing__(Rthasattrt __class__RtKeyError(Rtkey((s /usr/lib64/python2.7/UserDict.pyt __getitem__s  cCs||j|s  cGs|jj||S(N(Rtpop(RRtargs((s /usr/lib64/python2.7/UserDict.pyR(BscCs |jjS(N(Rtpopitem(R((s /usr/lib64/python2.7/UserDict.pyR*DscCs ||jkS(N(R(RR((s /usr/lib64/python2.7/UserDict.pyt __contains__FscCs(|}x|D]}|||s L