| PyObject *o) |
1 if the object provides sequence protocol, and
0 otherwise. This function always succeeds.
| PyObject *o) |
-1 on failure. For objects that do not provide sequence
protocol, this is equivalent to the Python expression
"len(o)".
| PyObject *o) |
| PyObject *o1, PyObject *o2) |
| PyObject *o, Py_ssize_t count) |
| PyObject *o1, PyObject *o2) |
| PyObject *o, Py_ssize_t count) |
| PyObject *o, Py_ssize_t i) |
| PyObject *o, Py_ssize_t i1, Py_ssize_t i2) |
| PyObject *o, Py_ssize_t i, PyObject *v) |
-1 on failure. This is the equivalent of the Python
statement "o[i] = v". This function does not
steal a reference to v.
| PyObject *o, Py_ssize_t i) |
-1
on failure. This is the equivalent of the Python statement
"del o[i]".
| PyObject *o, Py_ssize_t i1, Py_ssize_t i2, PyObject *v) |
| PyObject *o, Py_ssize_t i1, Py_ssize_t i2) |
-1 on failure. This is the equivalent of
the Python statement "del o[i1:i2]".
| PyObject *o, PyObject *value) |
o[key] ==
value. On failure, return -1. This is equivalent to
the Python expression "o.count(value)".
| PyObject *o, PyObject *value) |
1, otherwise return 0.
On error, return -1. This is equivalent to the Python
expression "value in o".
| PyObject *o, PyObject *value) |
o[i] ==
value. On error, return -1. This is equivalent to
the Python expression "o.index(value)".
| PyObject *o) |
| PyObject *o) |
| PyObject *o, const char *m) |
| PyObject *o, Py_ssize_t i) |
| PyObject *o) |
| PyObject *o, Py_ssize_t i) |
| PyObject *o) |
See About this document... for information on suggesting changes.