types.ListType
.
PyObject *p) |
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; return -1
and
set an exception if unsuccessful. Analogous to
list.insert(index, item)
.
PyObject *list, PyObject *item) |
0
if successful; return -1
and set 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
.
The itemlist may be NULL, indicating the assignment
of an empty list (slice deletion).
Return 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.