Owl Embedded Python for 32-bit Microcontrollers
The _list module defines the object methods for all lists. All methods defined within it should be called directly on a list object:
>>> a = [1, 2, 3]
>>> a.append(4)
>>> print a
[1, 2, 3, 4]
Appends object o to the list l.
Empties all elements from list l.
Returns the number of occurrences of v in l.
Appends all elements from s onto l, preserving the order of the elements in s.
Finds the first element of l that is equal to o. If no elements are equal to o, returns -1.
Inserts element i after the o-th element of l.
Removes and returns the i-th element from the list l, where i defaults to the last element in the list.
Removes the first occurrence of v from list l.