ó õ^‚Rc@s/dZddlZdejfd„ƒYZdS(sAA more or less complete user-defined wrapper around list objects.iÿÿÿÿNtUserListcBs:eZd!d„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z d!Z d „Zd „Zd „Zd „Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZeZd„Zd„Zd„Zdd„Zd„Zd„Z d„Z!d„Z"d„Z#d „Z$RS("cCssg|_|dk rot|ƒt|jƒkr=||j(qot|tƒr]|j|j(qot|ƒ|_ndS(N(tdatatNonettypet isinstanceRtlist(tselftinitlist((s/usr/lib/python2.7/UserList.pyt__init__s   cCs t|jƒS(N(treprR(R((s/usr/lib/python2.7/UserList.pyt__repr__scCs|j|j|ƒkS(N(Rt_UserList__cast(Rtother((s/usr/lib/python2.7/UserList.pyt__lt__scCs|j|j|ƒkS(N(RR (RR ((s/usr/lib/python2.7/UserList.pyt__le__scCs|j|j|ƒkS(N(RR (RR ((s/usr/lib/python2.7/UserList.pyt__eq__scCs|j|j|ƒkS(N(RR (RR ((s/usr/lib/python2.7/UserList.pyt__ne__scCs|j|j|ƒkS(N(RR (RR ((s/usr/lib/python2.7/UserList.pyt__gt__scCs|j|j|ƒkS(N(RR (RR ((s/usr/lib/python2.7/UserList.pyt__ge__scCst|tƒr|jS|SdS(N(RRR(RR ((s/usr/lib/python2.7/UserList.pyt__castscCst|j|j|ƒƒS(N(tcmpRR (RR ((s/usr/lib/python2.7/UserList.pyt__cmp__scCs ||jkS(N(R(Rtitem((s/usr/lib/python2.7/UserList.pyt __contains__scCs t|jƒS(N(tlenR(R((s/usr/lib/python2.7/UserList.pyt__len__scCs |j|S(N(R(Rti((s/usr/lib/python2.7/UserList.pyt __getitem__scCs||j|s cCs|j|j|ƒS(N(RR(Rtn((s/usr/lib/python2.7/UserList.pyt__mul__FscCs|j|9_|S(N(R(RR'((s/usr/lib/python2.7/UserList.pyt__imul__IscCs|jj|ƒdS(N(Rtappend(RR((s/usr/lib/python2.7/UserList.pyR*LscCs|jj||ƒdS(N(Rtinsert(RRR((s/usr/lib/python2.7/UserList.pyR+MsiÿÿÿÿcCs|jj|ƒS(N(Rtpop(RR((s/usr/lib/python2.7/UserList.pyR,NscCs|jj|ƒdS(N(Rtremove(RR((s/usr/lib/python2.7/UserList.pyR-OscCs|jj|ƒS(N(Rtcount(RR((s/usr/lib/python2.7/UserList.pyR.PscGs|jj||ŒS(N(Rtindex(RRtargs((s/usr/lib/python2.7/UserList.pyR/QscCs|jjƒdS(N(Rtreverse(R((s/usr/lib/python2.7/UserList.pyR1RscOs|jj||ŽdS(N(Rtsort(RR0tkwds((s/usr/lib/python2.7/UserList.pyR2SscCs9t|tƒr%|jj|jƒn|jj|ƒdS(N(RRRtextend(RR ((s/usr/lib/python2.7/UserList.pyR4TsN(%t__name__t __module__RRR R RRRRRR Rt__hash__RRRRRR!R"R#R$R%R&R(t__rmul__R)R*R+R,R-R.R/R1R2R4(((s/usr/lib/python2.7/UserList.pyRsD                              (t__doc__t collectionstMutableSequenceR(((s/usr/lib/python2.7/UserList.pyts