diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/abstract.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 6fa0fd7..975c562 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -721,15 +721,17 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ PyObject *PySequence_Tuple Py_PROTO((PyObject *o)); /* - Returns the o as a tuple on success, and NULL on failure. + Returns the sequence, o, as a tuple on success, and NULL on failure. This is equivalent to the Python expression: tuple(o) */ PyObject *PySequence_List Py_PROTO((PyObject *o)); + /* - Returns the o as a list on success, and NULL on failure. - This is equivalent to the Python expression: list(o) + Returns the sequence, o, as a list on success, and NULL on failure. + This is equivalent to the Python expression: list(o) */ + int PySequence_Count Py_PROTO((PyObject *o, PyObject *value)); /* |