summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h
index 4a53835..0765748 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -201,6 +201,7 @@ typedef PyObject *(*reprfunc)(PyObject *);
typedef long (*hashfunc)(PyObject *);
typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int);
typedef PyObject *(*getiterfunc) (PyObject *);
+typedef PyObject *(*iternextfunc) (PyObject *);
typedef struct _typeobject {
PyObject_VAR_HEAD
@@ -252,6 +253,7 @@ typedef struct _typeobject {
/* Iterators */
getiterfunc tp_iter;
+ iternextfunc tp_iternext;
#ifdef COUNT_ALLOCS
/* these must be last and never explicitly initialized */