�
zfc @ s/ d Z d d l Z d e j f d � � YZ d S( sA A more or less complete user-defined wrapper around list objects.i����Nt UserListc B s: e Z d! d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z
d � Z d � Z d! Z
d
� Z d � Z d � Z d
� Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e Z d � Z d � Z d � Z d d � Z d � Z d � Z d � Z! d � Z" d � Z# d � Z$ RS(" c C ss g | _ | d k ro t | � t | j � k r= | | j (qo t | t � r] | j | j (qo t | � | _ n d S( N( t datat Nonet typet
isinstanceR t list( t selft initlist( ( s /usr/lib64/python2.7/UserList.pyt __init__ s
c C s
t | j � S( N( t reprR ( R ( ( s /usr/lib64/python2.7/UserList.pyt __repr__ t c C s | j | j | � k S( N( R t _UserList__cast( R t other( ( s /usr/lib64/python2.7/UserList.pyt __lt__ R c C s | j | j | � k S( N( R R ( R R
( ( s /usr/lib64/python2.7/UserList.pyt __le__ R c C s | j | j | � k S( N( R R ( R R
( ( s /usr/lib64/python2.7/UserList.pyt __eq__ R c C s | j | j | � k S( N( R R ( R R
( ( s /usr/lib64/python2.7/UserList.pyt __ne__ R c C s | j | j | � k S( N( R R ( R R
( ( s /usr/lib64/python2.7/UserList.pyt __gt__ R c C s | j | j | � k S( N( R R ( R R
( ( s /usr/lib64/python2.7/UserList.pyt __ge__ R c C s t | t � r | j S| Sd S( N( R R R ( R R
( ( s /usr/lib64/python2.7/UserList.pyt __cast s c C s t | j | j | � � S( N( t cmpR R ( R R
( ( s /usr/lib64/python2.7/UserList.pyt __cmp__ s c C s
| | j k S( N( R ( R t item( ( s /usr/lib64/python2.7/UserList.pyt __contains__ R c C s
t | j � S( N( t lenR ( R ( ( s /usr/lib64/python2.7/UserList.pyt __len__ R c C s | j | S( N( R ( R t i( ( s /usr/lib64/python2.7/UserList.pyt __getitem__ R c C s | | j |