summaryrefslogtreecommitdiffstats
path: root/Include/abstract.h
diff options
context:
space:
mode:
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 e0765e5..c56c887 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -470,6 +470,11 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
*/
+ DL_IMPORT(PyObject *) PyObject_GetIter(PyObject *);
+ /* Takes an object and returns an iterator for it.
+ This is typically a new iterator but if the argument
+ is an iterator, this returns itself. */
+
/* Number Protocol:*/
DL_IMPORT(int) PyNumber_Check(PyObject *o);