Staging
v0.5.1
https://github.com/python/cpython
Revision ee2940d5d2a6a80490be8c79238499a17a65999f authored by Georg Brandl on 30 September 2006, 11:06:51 UTC, committed by Georg Brandl on 30 September 2006, 11:06:51 UTC
but also for functions.
 (backport from rev. 52069)
1 parent 86b66b9
Raw File
Tip revision: ee2940d5d2a6a80490be8c79238499a17a65999f authored by Georg Brandl on 30 September 2006, 11:06:51 UTC
Bug #1560617: in pyclbr, return full module name not only for classes,
Tip revision: ee2940d
iterobject.h
#ifndef Py_ITEROBJECT_H
#define Py_ITEROBJECT_H
/* Iterators (the basic kind, over a sequence) */
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(PyTypeObject) PySeqIter_Type;

#define PySeqIter_Check(op) ((op)->ob_type == &PySeqIter_Type)

PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);

PyAPI_DATA(PyTypeObject) PyCallIter_Type;

#define PyCallIter_Check(op) ((op)->ob_type == &PyCallIter_Type)

PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);
#ifdef __cplusplus
}
#endif
#endif /* !Py_ITEROBJECT_H */

back to top