Staging
v0.8.1
https://github.com/python/cpython
Revision b2c3ca1e38dacdbcdbad088628968f381de7a4a4 authored by Mark Dickinson on 16 November 2009, 17:33:25 UTC, committed by Mark Dickinson on 16 November 2009, 17:33:25 UTC
1 parent d3571c8
Raw File
Tip revision: b2c3ca1e38dacdbcdbad088628968f381de7a4a4 authored by Mark Dickinson on 16 November 2009, 17:33:25 UTC
Silence MSVC warning about unary minus applied to unsigned type.
Tip revision: b2c3ca1
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) (Py_TYPE(op) == &PySeqIter_Type)

PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);

PyAPI_DATA(PyTypeObject) PyCallIter_Type;

#define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)

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

back to top