mò %U²Ic@sdZdfd„ƒYZdS(sAA more or less complete user-defined wrapper around list objects.tUserListcBs4tZdd„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„ZeZd„Zd„Zd„Zdd„Zd„Zd„Zd„Z d„Z!d „Z"d!„Z#RS("NcCsyg|_|dj o_t|ƒt|iƒjo||i(qut|tƒo|i|i(qut|ƒ|_ndS(N(tselftdatatinitlisttNonettypet isinstanceRtlist(RR((t%/data/zmath/lib/python2.4/UserList.pyt__init__s  cCs t|iƒS(N(treprRR(R((Rt__repr__scCs|i|i|ƒjS(N(RRt_UserList__casttother(RR ((Rt__lt__scCs|i|i|ƒjS(N(RRR R (RR ((Rt__le__scCs|i|i|ƒjS(N(RRR R (RR ((Rt__eq__scCs|i|i|ƒjS(N(RRR R (RR ((Rt__ne__scCs|i|i|ƒjS(N(RRR R (RR ((Rt__gt__scCs|i|i|ƒjS(N(RRR R (RR ((Rt__ge__scCs#t|tƒo |iSn|SdS(N(RR RR(RR ((Rt__casts cCst|i|i|ƒƒS(N(tcmpRRR R (RR ((Rt__cmp__scCs ||ijS(N(titemRR(RR((Rt __contains__scCs t|iƒS(N(tlenRR(R((Rt__len__scCs |i|S(N(RRti(RR((Rt __getitem__scCs||i|