types.ListType
.
PyObject *p) |
int len) |
PyObject *list) |
PyObject *list) |
PyObject *list, int index) |
PyObject *list, int i) |
PyObject *list, int index, PyObject *item) |
0
on success or -1
on failure. Note:
This function
``steals'' a reference to item and discards a reference to an
item already in the list at the affected position.
PyObject *list, int i, PyObject *o) |
PyObject *list, int index, PyObject *item) |
0
if successful; returns -1
and
raises an exception if unsuccessful. Analogous to
list.insert(index, item)
.
PyObject *list, PyObject *item) |
0
if successful; returns -1
and sets an
exception if unsuccessful. Analogous to
list.append(item)
.
PyObject *list, int low, int high) |
list[low:high]
.
PyObject *list, int low, int high, PyObject *itemlist) |
list[low:high] = itemlist
. Returns
0
on success, -1
on failure.
PyObject *list) |
0
on
success, -1
on failure. This is equivalent to
"list.sort()".
PyObject *list) |
0
on
success, -1
on failure. This is the equivalent of
"list.reverse()".
PyObject *list) |
See About this document... for information on suggesting changes.