diff options
Diffstat (limited to 'Include/iterobject.h')
-rw-r--r-- | Include/iterobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/iterobject.h b/Include/iterobject.h index ba1b482..851cd7b 100644 --- a/Include/iterobject.h +++ b/Include/iterobject.h @@ -10,12 +10,12 @@ PyAPI_DATA(PyTypeObject) PyCallIter_Type; PyAPI_DATA(PyTypeObject) PyZipIter_Type; PyAPI_DATA(PyTypeObject) PyCmpWrapper_Type; -#define PySeqIter_Check(op) (Py_Type(op) == &PySeqIter_Type) +#define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); -#define PyCallIter_Check(op) (Py_Type(op) == &PyCallIter_Type) +#define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); |