pickle.ListType

pickle.ListType

alias of list

Methods

__format__ default object formatter
__getitem__ x.__getitem__(y) <==> x[y]
__new__((S, ...)
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__reversed__ L.__reversed__() – return a reverse iterator over the list
__sizeof__ L.__sizeof__() – size of L in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().
append L.append(object) – append object to end
count(...)
extend L.extend(iterable) – extend list by appending elements from the iterable
index((value, [start, ...) Raises ValueError if the value is not present.
insert L.insert(index, object) – insert object before index
pop(...) Raises IndexError if list is empty or index is out of range.
remove L.remove(value) – remove first occurrence of value.
reverse L.reverse() – reverse IN PLACE
sort L.sort(cmp=None, key=None, reverse=False) – stable sort IN PLACE;