File indexing completed on 2025-01-18 10:06:49
0001 #ifndef Py_ITEROBJECT_H
0002 #define Py_ITEROBJECT_H
0003
0004 #ifdef __cplusplus
0005 extern "C" {
0006 #endif
0007
0008 PyAPI_DATA(PyTypeObject) PySeqIter_Type;
0009 PyAPI_DATA(PyTypeObject) PyCallIter_Type;
0010 #ifdef Py_BUILD_CORE
0011 extern PyTypeObject _PyAnextAwaitable_Type;
0012 #endif
0013
0014 #define PySeqIter_Check(op) Py_IS_TYPE((op), &PySeqIter_Type)
0015
0016 PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);
0017
0018
0019 #define PyCallIter_Check(op) Py_IS_TYPE((op), &PyCallIter_Type)
0020
0021 PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);
0022
0023 #ifdef __cplusplus
0024 }
0025 #endif
0026 #endif
0027