Staging
v0.5.1
https://github.com/python/cpython
Revision 1681b622515e2c174d59e79746579e71339adc04 authored by Fred Drake on 13 November 2004, 17:45:39 UTC, committed by Fred Drake on 13 November 2004, 17:45:39 UTC
so that this is harder to forget to do for development of new styles
1 parent bbc0d44
Raw File
Tip revision: 1681b622515e2c174d59e79746579e71339adc04 authored by Fred Drake on 13 November 2004, 17:45:39 UTC
add another way to specify an alternate name for the documentation set,
Tip revision: 1681b62
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