summaryrefslogtreecommitdiffstats
path: root/Include/abstract.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 21:48:50 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 21:48:50 (GMT)
commit2adf06b04c23e3eda8535e2ec3f32ad76de27c5e (patch)
treeff3d02cec2718e0f566e8657d6c495b247245edd /Include/abstract.h
parent36a484fb52e8b62e38536e85a0350ada2acd3106 (diff)
downloadcpython-2adf06b04c23e3eda8535e2ec3f32ad76de27c5e.zip
cpython-2adf06b04c23e3eda8535e2ec3f32ad76de27c5e.tar.gz
cpython-2adf06b04c23e3eda8535e2ec3f32ad76de27c5e.tar.bz2
Added missing for PySequence_List.
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index de984e7..6f7116a 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -725,6 +725,11 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
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)
+ */
int PySequence_Count Py_PROTO((PyObject *o, PyObject *value));
/*