2001-04-21 05:06:46 +08:00
|
|
|
/* Iterators (the basic kind, over a sequence) */
|
|
|
|
|
2001-04-23 22:08:49 +08:00
|
|
|
extern DL_IMPORT(PyTypeObject) PySeqIter_Type;
|
2001-04-21 05:06:46 +08:00
|
|
|
|
2001-04-23 22:08:49 +08:00
|
|
|
#define PySeqIter_Check(op) ((op)->ob_type == &PySeqIter_Type)
|
2001-04-21 05:06:46 +08:00
|
|
|
|
2001-04-23 22:08:49 +08:00
|
|
|
extern DL_IMPORT(PyObject *) PySeqIter_New(PyObject *);
|
2001-04-21 05:06:46 +08:00
|
|
|
|
|
|
|
extern DL_IMPORT(PyTypeObject) PyCallIter_Type;
|
|
|
|
|
|
|
|
#define PyCallIter_Check(op) ((op)->ob_type == &PyCallIter_Type)
|
|
|
|
|
|
|
|
extern DL_IMPORT(PyObject *) PyCallIter_New(PyObject *, PyObject *);
|