tuple
and types.TupleType
in the Python layer..
PyObject *p) |
PyObject *p) |
Py_ssize_t len) |
Py_ssize_t n, ...) |
PyObject *p) |
PyObject *p) |
PyObject *p, Py_ssize_t pos) |
PyObject *p, Py_ssize_t pos) |
PyObject *p, Py_ssize_t low, Py_ssize_t high) |
PyObject *p, Py_ssize_t pos, PyObject *o) |
0
on success.
Note:
This function ``steals'' a reference to o.
PyObject *p, Py_ssize_t pos, PyObject *o) |
PyObject **p, Py_ssize_t newsize) |
0
on success.
Client code should never assume that the resulting value of
*p
will be the same as before calling this function.
If the object referenced by *p
is replaced, the
original *p
is destroyed. On failure, returns
-1
and sets *p
to NULL, and raises
MemoryError or
SystemError.
Changed in version 2.2:
Removed unused third parameter, last_is_sticky.
See About this document... for information on suggesting changes.