|
__init__(self,
head,
tail)
Create a list consisting of head appended to the list
given by tail. |
source code
|
|
|
__iter__(self)
Iterate over the elements of this list. |
source code
|
|
|
__repr__(self)
Return a string which could be 'eval'ed to yield this LList. |
source code
|
|
|
__str__(self)
Return a string representation of this list. |
source code
|
|
|
__eq__(self,
other)
Return True iff the LList objects have the same contents
and order. |
source code
|
|
|
|
|
__cmp__(self,
other)
Compare two LList objects in lexicographic order: a list prefix
is "less than" the full list. |
source code
|
|
|
|
|
__len__(self)
Return the length of this list. |
source code
|
|
|
__nonzero__(self)
Return True iff the list has at least one item in it. |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|