� zfc@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/lib64/python2.7/UserList.pyt__init__s   cCs t|j�S(N(treprR(R((s /usr/lib64/python2.7/UserList.pyt__repr__tcCs|j|j|�kS(N(Rt_UserList__cast(Rtother((s /usr/lib64/python2.7/UserList.pyt__lt__R cCs|j|j|�kS(N(RR (RR ((s /usr/lib64/python2.7/UserList.pyt__le__R cCs|j|j|�kS(N(RR (RR ((s /usr/lib64/python2.7/UserList.pyt__eq__R cCs|j|j|�kS(N(RR (RR ((s /usr/lib64/python2.7/UserList.pyt__ne__R cCs|j|j|�kS(N(RR (RR ((s /usr/lib64/python2.7/UserList.pyt__gt__R cCs|j|j|�kS(N(RR (RR ((s /usr/lib64/python2.7/UserList.pyt__ge__R cCst|t�r|jS|SdS(N(RRR(RR ((s /usr/lib64/python2.7/UserList.pyt__castscCst|j|j|��S(N(tcmpRR (RR ((s /usr/lib64/python2.7/UserList.pyt__cmp__scCs ||jkS(N(R(Rtitem((s /usr/lib64/python2.7/UserList.pyt __contains__R cCs t|j�S(N(tlenR(R((s /usr/lib64/python2.7/UserList.pyt__len__R cCs |j|S(N(R(Rti((s /usr/lib64/python2.7/UserList.pyt __getitem__R cCs||j|s cCs|j|j|�S(N(R R(Rtn((s /usr/lib64/python2.7/UserList.pyt__mul__FscCs|j|9_|S(N(R(RR(((s /usr/lib64/python2.7/UserList.pyt__imul__IscCs|jj|�dS(N(Rtappend(RR((s /usr/lib64/python2.7/UserList.pyR+LR cCs|jj||�dS(N(Rtinsert(RRR((s /usr/lib64/python2.7/UserList.pyR,MR i����cCs|jj|�S(N(Rtpop(RR((s /usr/lib64/python2.7/UserList.pyR-NR cCs|jj|�dS(N(Rtremove(RR((s /usr/lib64/python2.7/UserList.pyR.OR cCs|jj|�S(N(Rtcount(RR((s /usr/lib64/python2.7/UserList.pyR/PR cGs|jj||�S(N(Rtindex(RRtargs((s /usr/lib64/python2.7/UserList.pyR0QR cCs|jj�dS(N(Rtreverse(R((s /usr/lib64/python2.7/UserList.pyR2RR cOs|jj||�dS(N(Rtsort(RR1tkwds((s /usr/lib64/python2.7/UserList.pyR3SR cCs9t|t�r%|jj|j�n|jj|�dS(N(RRRtextend(RR ((s /usr/lib64/python2.7/UserList.pyR5TsN(%t__name__t __module__RRR RRRRRRR Rt__hash__RRRRRR"R#R$R%R&R'R)t__rmul__R*R+R,R-R.R/R0R2R3R5(((s /usr/lib64/python2.7/UserList.pyRsD                              (t__doc__t collectionstMutableSequenceR(((s /usr/lib64/python2.7/UserList.pyts