| |
- builtins.list(builtins.object)
-
- QueryableList.Base.QueryableListBase
-
- QueryableListDicts
- QueryableListMixed
- QueryableListObjs
- builtins.object
-
- QueryableList.Builder.QueryBuilder
class QueryBuilder(builtins.object) |
|
QueryBuilder - Build a reusable query that can be applied on multiple lists, or appended
by several methods.
If you are going to perform the same filter a bunch of times, use QueryBuilder to save
the cost of constructing the query each time. |
|
Methods defined here:
- __init__(self)
- Initialize self. See help(type(self)) for accurate signature.
- addFilter(self, filterMethod='AND', **kwargs)
- addFilter - Add a filter to this query.
@param filterMethod <str> - The filter method to use (AND or OR), default: 'AND'
@param additional args - Filter arguments. @see QueryableListBase.filter
@raises ValueError if filterMethod is not one of known methods.
- addFilterAnd(self, **kwargs)
- addFilterAnd - Adds an AND filter. Alias for #addFilter(filterMethod=FILTER_METHOD_AND, ...)
@see #addFilter
- addFilterOr(self, **kwargs)
- addFilterOr - Adds an OR filter, Alias for #addFIlter(filterMethod=FILTER_METHOD_OR, .,.)
@see #andFilter
- copy(self)
- copy - Create a copy of this query.
@return <QueryBuilder> - a copy of this query
- execute(self, lst)
- execute - Execute the series of filters, in order, on the provided list.
@param lst <list/ A QueryableList type> - The list to filter. If you already know the types of items within
the list, you can pick a QueryableList implementing class to get faster results. Otherwise, if a list type that does
not extend QueryableListBase is provided, QueryableListMixed will be used (Supports both object-like and dict-like items)
@return - QueryableList of results. If you provided #lst as a QueryableList type already, that same type will be returned.
Otherwise, a QueryableListMixed will be returned.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class QueryableListBase(builtins.list) |
|
QueryableListBase - The base implementation of a QueryableList.
Any implementing classes should only have to implement the "_get_item_value(item, fieldName)" method, to return the value of a given field on an item.
You cannot use this directly, instead use one of the implementing classes (like QueryableListDicts or QueryableListObjs), or your own implementing class. |
|
- Method resolution order:
- QueryableListBase
- builtins.list
- builtins.object
Methods defined here:
- __add__(self, other)
- __add__ - Append all items in #other to the tail of #self
+ operator
Returns a copy, does not modify this item.
- __and__(self, other)
- __and__ - Return a QueryableList (of this type) which contains all the elements in #self that are also in #other
Returns a copy
- __getslice__(self, start, end)
- __getslice__ - Return a "slice" (subset) of the current collection.
Returns a copy
- __iadd__(self, other)
- __iadd__ - Append all items in #other to the tail of #self
+= operator
Modifies original
- __iand__(self, other)
- __ior__(self, other)
- __isub__(self, other)
- __isub__ - Implement subtract-equals. Removes any items from #self that are present in #other
Works inline and modifies #self
- __ixor__(self, other)
- __or__(self, other)
- __or__ - Append any items found in #other which are not already present in #self
Returns a copy
- __repr__(self)
- __repr__ - Return a code representation of this class
- __sub__(self, other)
- __sub__ - Implement subtract. Removes any items from #self that are present in #other
Returns a copy, does not modify inline
- __xor__(self, other)
- __xor__ - Return a QueryableList (of this type) which contains all the elements
that appear in either #self or #other, but not both.
Returns a copy
- all(self)
- all - Returns all items in this collection, as the collection type (aka returns "self").
This method is provided for method parity with ORMs that build a filter set with filter calls,
and then execute with ".all" (like django or IndexedRedis).
That way you can filter and call ".all()" after, and it doesn't matter if you're hitting the db
or filtering already-fetched objects, the usage remains the same.
@return <self.__class__> - self
- customFilter(self, filterFunc)
- customFilter - Apply a custom filter to elements and return a QueryableList of matches
@param filterFunc <lambda/function< - A lambda/function that is passed an item, and
returns True if the item matches (will be returned), otherwise False.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filter = filterAnd(self, **kwargs)
- filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterOr(self, **kwargs)
- filterOr - Performs a filter and returns a QueryableList object of the same type.
Anythe provided filters can match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.list:
- __contains__(self, key, /)
- Return key in self.
- __delitem__(self, key, /)
- Delete self[key].
- __eq__(self, value, /)
- Return self==value.
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __gt__(self, value, /)
- Return self>value.
- __imul__(self, value, /)
- Implement self*=value.
- __init__(self, /, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __iter__(self, /)
- Implement iter(self).
- __le__(self, value, /)
- Return self<=value.
- __len__(self, /)
- Return len(self).
- __lt__(self, value, /)
- Return self<value.
- __mul__(self, value, /)
- Return self*value.n
- __ne__(self, value, /)
- Return self!=value.
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __reversed__(...)
- L.__reversed__() -- return a reverse iterator over the list
- __rmul__(self, value, /)
- Return self*value.
- __setitem__(self, key, value, /)
- Set self[key] to value.
- __sizeof__(...)
- L.__sizeof__() -- size of L in memory, in bytes
- append(...)
- L.append(object) -> None -- append object to end
- clear(...)
- L.clear() -> None -- remove all items from L
- copy(...)
- L.copy() -> list -- a shallow copy of L
- count(...)
- L.count(value) -> integer -- return number of occurrences of value
- extend(...)
- L.extend(iterable) -> None -- extend list by appending elements from the iterable
- index(...)
- L.index(value, [start, [stop]]) -> integer -- return first index of value.
Raises ValueError if the value is not present.
- insert(...)
- L.insert(index, object) -- insert object before index
- pop(...)
- L.pop([index]) -> item -- remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- remove(...)
- L.remove(value) -> None -- remove first occurrence of value.
Raises ValueError if the value is not present.
- reverse(...)
- L.reverse() -- reverse *IN PLACE*
- sort(...)
- L.sort(key=None, reverse=False) -> None -- stable sort *IN PLACE*
Data and other attributes inherited from builtins.list:
- __hash__ = None
|
class QueryableListDicts(QueryableList.Base.QueryableListBase) |
|
QueryableListDicts - QueryableList where each item is or extends dict (or implements __getitem__ and __contains__) |
|
- Method resolution order:
- QueryableListDicts
- QueryableList.Base.QueryableListBase
- builtins.list
- builtins.object
Methods inherited from QueryableList.Base.QueryableListBase:
- __add__(self, other)
- __add__ - Append all items in #other to the tail of #self
+ operator
Returns a copy, does not modify this item.
- __and__(self, other)
- __and__ - Return a QueryableList (of this type) which contains all the elements in #self that are also in #other
Returns a copy
- __getslice__(self, start, end)
- __getslice__ - Return a "slice" (subset) of the current collection.
Returns a copy
- __iadd__(self, other)
- __iadd__ - Append all items in #other to the tail of #self
+= operator
Modifies original
- __iand__(self, other)
- __ior__(self, other)
- __isub__(self, other)
- __isub__ - Implement subtract-equals. Removes any items from #self that are present in #other
Works inline and modifies #self
- __ixor__(self, other)
- __or__(self, other)
- __or__ - Append any items found in #other which are not already present in #self
Returns a copy
- __repr__(self)
- __repr__ - Return a code representation of this class
- __sub__(self, other)
- __sub__ - Implement subtract. Removes any items from #self that are present in #other
Returns a copy, does not modify inline
- __xor__(self, other)
- __xor__ - Return a QueryableList (of this type) which contains all the elements
that appear in either #self or #other, but not both.
Returns a copy
- all(self)
- all - Returns all items in this collection, as the collection type (aka returns "self").
This method is provided for method parity with ORMs that build a filter set with filter calls,
and then execute with ".all" (like django or IndexedRedis).
That way you can filter and call ".all()" after, and it doesn't matter if you're hitting the db
or filtering already-fetched objects, the usage remains the same.
@return <self.__class__> - self
- customFilter(self, filterFunc)
- customFilter - Apply a custom filter to elements and return a QueryableList of matches
@param filterFunc <lambda/function< - A lambda/function that is passed an item, and
returns True if the item matches (will be returned), otherwise False.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filter = filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterOr(self, **kwargs)
- filterOr - Performs a filter and returns a QueryableList object of the same type.
Anythe provided filters can match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
Data descriptors inherited from QueryableList.Base.QueryableListBase:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.list:
- __contains__(self, key, /)
- Return key in self.
- __delitem__(self, key, /)
- Delete self[key].
- __eq__(self, value, /)
- Return self==value.
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __gt__(self, value, /)
- Return self>value.
- __imul__(self, value, /)
- Implement self*=value.
- __init__(self, /, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __iter__(self, /)
- Implement iter(self).
- __le__(self, value, /)
- Return self<=value.
- __len__(self, /)
- Return len(self).
- __lt__(self, value, /)
- Return self<value.
- __mul__(self, value, /)
- Return self*value.n
- __ne__(self, value, /)
- Return self!=value.
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __reversed__(...)
- L.__reversed__() -- return a reverse iterator over the list
- __rmul__(self, value, /)
- Return self*value.
- __setitem__(self, key, value, /)
- Set self[key] to value.
- __sizeof__(...)
- L.__sizeof__() -- size of L in memory, in bytes
- append(...)
- L.append(object) -> None -- append object to end
- clear(...)
- L.clear() -> None -- remove all items from L
- copy(...)
- L.copy() -> list -- a shallow copy of L
- count(...)
- L.count(value) -> integer -- return number of occurrences of value
- extend(...)
- L.extend(iterable) -> None -- extend list by appending elements from the iterable
- index(...)
- L.index(value, [start, [stop]]) -> integer -- return first index of value.
Raises ValueError if the value is not present.
- insert(...)
- L.insert(index, object) -- insert object before index
- pop(...)
- L.pop([index]) -> item -- remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- remove(...)
- L.remove(value) -> None -- remove first occurrence of value.
Raises ValueError if the value is not present.
- reverse(...)
- L.reverse() -- reverse *IN PLACE*
- sort(...)
- L.sort(key=None, reverse=False) -> None -- stable sort *IN PLACE*
Data and other attributes inherited from builtins.list:
- __hash__ = None
|
class QueryableListMixed(QueryableList.Base.QueryableListBase) |
|
QueryableListMixed - QueryableList which can contain dict-like items or object-like items
This is somewhat slower than using QueryableListObjs or QueryableListDicts directly, but use it if you need to mix, or need to support either type. |
|
- Method resolution order:
- QueryableListMixed
- QueryableList.Base.QueryableListBase
- builtins.list
- builtins.object
Methods inherited from QueryableList.Base.QueryableListBase:
- __add__(self, other)
- __add__ - Append all items in #other to the tail of #self
+ operator
Returns a copy, does not modify this item.
- __and__(self, other)
- __and__ - Return a QueryableList (of this type) which contains all the elements in #self that are also in #other
Returns a copy
- __getslice__(self, start, end)
- __getslice__ - Return a "slice" (subset) of the current collection.
Returns a copy
- __iadd__(self, other)
- __iadd__ - Append all items in #other to the tail of #self
+= operator
Modifies original
- __iand__(self, other)
- __ior__(self, other)
- __isub__(self, other)
- __isub__ - Implement subtract-equals. Removes any items from #self that are present in #other
Works inline and modifies #self
- __ixor__(self, other)
- __or__(self, other)
- __or__ - Append any items found in #other which are not already present in #self
Returns a copy
- __repr__(self)
- __repr__ - Return a code representation of this class
- __sub__(self, other)
- __sub__ - Implement subtract. Removes any items from #self that are present in #other
Returns a copy, does not modify inline
- __xor__(self, other)
- __xor__ - Return a QueryableList (of this type) which contains all the elements
that appear in either #self or #other, but not both.
Returns a copy
- all(self)
- all - Returns all items in this collection, as the collection type (aka returns "self").
This method is provided for method parity with ORMs that build a filter set with filter calls,
and then execute with ".all" (like django or IndexedRedis).
That way you can filter and call ".all()" after, and it doesn't matter if you're hitting the db
or filtering already-fetched objects, the usage remains the same.
@return <self.__class__> - self
- customFilter(self, filterFunc)
- customFilter - Apply a custom filter to elements and return a QueryableList of matches
@param filterFunc <lambda/function< - A lambda/function that is passed an item, and
returns True if the item matches (will be returned), otherwise False.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filter = filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterOr(self, **kwargs)
- filterOr - Performs a filter and returns a QueryableList object of the same type.
Anythe provided filters can match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
Data descriptors inherited from QueryableList.Base.QueryableListBase:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.list:
- __contains__(self, key, /)
- Return key in self.
- __delitem__(self, key, /)
- Delete self[key].
- __eq__(self, value, /)
- Return self==value.
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __gt__(self, value, /)
- Return self>value.
- __imul__(self, value, /)
- Implement self*=value.
- __init__(self, /, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __iter__(self, /)
- Implement iter(self).
- __le__(self, value, /)
- Return self<=value.
- __len__(self, /)
- Return len(self).
- __lt__(self, value, /)
- Return self<value.
- __mul__(self, value, /)
- Return self*value.n
- __ne__(self, value, /)
- Return self!=value.
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __reversed__(...)
- L.__reversed__() -- return a reverse iterator over the list
- __rmul__(self, value, /)
- Return self*value.
- __setitem__(self, key, value, /)
- Set self[key] to value.
- __sizeof__(...)
- L.__sizeof__() -- size of L in memory, in bytes
- append(...)
- L.append(object) -> None -- append object to end
- clear(...)
- L.clear() -> None -- remove all items from L
- copy(...)
- L.copy() -> list -- a shallow copy of L
- count(...)
- L.count(value) -> integer -- return number of occurrences of value
- extend(...)
- L.extend(iterable) -> None -- extend list by appending elements from the iterable
- index(...)
- L.index(value, [start, [stop]]) -> integer -- return first index of value.
Raises ValueError if the value is not present.
- insert(...)
- L.insert(index, object) -- insert object before index
- pop(...)
- L.pop([index]) -> item -- remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- remove(...)
- L.remove(value) -> None -- remove first occurrence of value.
Raises ValueError if the value is not present.
- reverse(...)
- L.reverse() -- reverse *IN PLACE*
- sort(...)
- L.sort(key=None, reverse=False) -> None -- stable sort *IN PLACE*
Data and other attributes inherited from builtins.list:
- __hash__ = None
|
class QueryableListObjs(QueryableList.Base.QueryableListBase) |
|
QueryableListObjs - QueryableList where each item extends object (or implements __getattribute__) |
|
- Method resolution order:
- QueryableListObjs
- QueryableList.Base.QueryableListBase
- builtins.list
- builtins.object
Methods inherited from QueryableList.Base.QueryableListBase:
- __add__(self, other)
- __add__ - Append all items in #other to the tail of #self
+ operator
Returns a copy, does not modify this item.
- __and__(self, other)
- __and__ - Return a QueryableList (of this type) which contains all the elements in #self that are also in #other
Returns a copy
- __getslice__(self, start, end)
- __getslice__ - Return a "slice" (subset) of the current collection.
Returns a copy
- __iadd__(self, other)
- __iadd__ - Append all items in #other to the tail of #self
+= operator
Modifies original
- __iand__(self, other)
- __ior__(self, other)
- __isub__(self, other)
- __isub__ - Implement subtract-equals. Removes any items from #self that are present in #other
Works inline and modifies #self
- __ixor__(self, other)
- __or__(self, other)
- __or__ - Append any items found in #other which are not already present in #self
Returns a copy
- __repr__(self)
- __repr__ - Return a code representation of this class
- __sub__(self, other)
- __sub__ - Implement subtract. Removes any items from #self that are present in #other
Returns a copy, does not modify inline
- __xor__(self, other)
- __xor__ - Return a QueryableList (of this type) which contains all the elements
that appear in either #self or #other, but not both.
Returns a copy
- all(self)
- all - Returns all items in this collection, as the collection type (aka returns "self").
This method is provided for method parity with ORMs that build a filter set with filter calls,
and then execute with ".all" (like django or IndexedRedis).
That way you can filter and call ".all()" after, and it doesn't matter if you're hitting the db
or filtering already-fetched objects, the usage remains the same.
@return <self.__class__> - self
- customFilter(self, filterFunc)
- customFilter - Apply a custom filter to elements and return a QueryableList of matches
@param filterFunc <lambda/function< - A lambda/function that is passed an item, and
returns True if the item matches (will be returned), otherwise False.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filter = filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterAnd(self, **kwargs)
- filter/filterAnd - Performs a filter and returns a QueryableList object of the same type.
All the provided filters must match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
- filterOr(self, **kwargs)
- filterOr - Performs a filter and returns a QueryableList object of the same type.
Anythe provided filters can match for the item to be returned.
@params are in the format of fieldName__operation=value where fieldName is the name of the field on any given item, "operation" is one of the given operations (@see main documentation) (e.x. eq, ne, isnull), and value is what is used in the operation.
@return - A QueryableList object of the same type, with only the matching objects returned.
Data descriptors inherited from QueryableList.Base.QueryableListBase:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Methods inherited from builtins.list:
- __contains__(self, key, /)
- Return key in self.
- __delitem__(self, key, /)
- Delete self[key].
- __eq__(self, value, /)
- Return self==value.
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getitem__(...)
- x.__getitem__(y) <==> x[y]
- __gt__(self, value, /)
- Return self>value.
- __imul__(self, value, /)
- Implement self*=value.
- __init__(self, /, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __iter__(self, /)
- Implement iter(self).
- __le__(self, value, /)
- Return self<=value.
- __len__(self, /)
- Return len(self).
- __lt__(self, value, /)
- Return self<value.
- __mul__(self, value, /)
- Return self*value.n
- __ne__(self, value, /)
- Return self!=value.
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __reversed__(...)
- L.__reversed__() -- return a reverse iterator over the list
- __rmul__(self, value, /)
- Return self*value.
- __setitem__(self, key, value, /)
- Set self[key] to value.
- __sizeof__(...)
- L.__sizeof__() -- size of L in memory, in bytes
- append(...)
- L.append(object) -> None -- append object to end
- clear(...)
- L.clear() -> None -- remove all items from L
- copy(...)
- L.copy() -> list -- a shallow copy of L
- count(...)
- L.count(value) -> integer -- return number of occurrences of value
- extend(...)
- L.extend(iterable) -> None -- extend list by appending elements from the iterable
- index(...)
- L.index(value, [start, [stop]]) -> integer -- return first index of value.
Raises ValueError if the value is not present.
- insert(...)
- L.insert(index, object) -- insert object before index
- pop(...)
- L.pop([index]) -> item -- remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- remove(...)
- L.remove(value) -> None -- remove first occurrence of value.
Raises ValueError if the value is not present.
- reverse(...)
- L.reverse() -- reverse *IN PLACE*
- sort(...)
- L.sort(key=None, reverse=False) -> None -- stable sort *IN PLACE*
Data and other attributes inherited from builtins.list:
- __hash__ = None
| |