mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Adding iterobject.[ch], which were accidentally not added. Sorry\!
This commit is contained in:
parent
59d1d2b434
commit
05311481d4
2 changed files with 201 additions and 0 deletions
13
Include/iterobject.h
Normal file
13
Include/iterobject.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* Iterators (the basic kind, over a sequence) */
|
||||
|
||||
extern DL_IMPORT(PyTypeObject) PyIter_Type;
|
||||
|
||||
#define PyIter_Check(op) ((op)->ob_type == &PyIter_Type)
|
||||
|
||||
extern DL_IMPORT(PyObject *) PyIter_New(PyObject *);
|
||||
|
||||
extern DL_IMPORT(PyTypeObject) PyCallIter_Type;
|
||||
|
||||
#define PyCallIter_Check(op) ((op)->ob_type == &PyCallIter_Type)
|
||||
|
||||
extern DL_IMPORT(PyObject *) PyCallIter_New(PyObject *, PyObject *);
|
||||
Loading…
Add table
Add a link
Reference in a new issue