diff options
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r-- | Objects/abstract.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index e2700e3f80..192ade1157 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -1245,6 +1245,7 @@ PyNumber_Absolute(PyObject *o) } #undef PyIndex_Check + int PyIndex_Check(PyObject *obj) { @@ -2544,6 +2545,7 @@ PyObject_GetIter(PyObject *o) } #undef PyIter_Check + int PyIter_Check(PyObject *obj) { return obj->ob_type->tp_iternext != NULL && |