new list
|
__init__(self,
arg1=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
item
|
pop_value(self,
index=-1)
remove and return item at index (default last) |
source code
|
|
item
|
pop(self,
index=-1)
remove and return item at index (default last) |
source code
|
|
|
|
|
|
|
|
|
|
remove_by_value(self,
other)
remove first occurrence of value |
source code
|
|
|
|
|
|
|
sort_by_key(self)
Sort based on key of each entry |
source code
|
|
|
|
sort_by_value(self)
Sort based on value of each entry |
source code
|
|
|
|
|
|
Inherited from list:
__contains__,
__eq__,
__ge__,
__getattribute__,
__getitem__,
__getslice__,
__gt__,
__hash__,
__iter__,
__le__,
__len__,
__lt__,
__ne__,
__new__,
__reversed__,
__setitem__,
__setslice__,
count,
index
Inherited from object:
__delattr__,
__reduce__,
__reduce_ex__,
__setattr__
|