Staging
v0.5.1
https://github.com/python/cpython
Revision e2e1561a15c76bc9089248ab63c9ac74325e13da authored by Georg Brandl on 20 May 2009, 18:25:10 UTC, committed by Georg Brandl on 20 May 2009, 18:25:10 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72799 | georg.brandl | 2009-05-20 20:24:08 +0200 (Mi, 20 Mai 2009) | 1 line

  Update bug tracker URL.
........
1 parent 3a6df81
Raw File
Tip revision: e2e1561a15c76bc9089248ab63c9ac74325e13da authored by Georg Brandl on 20 May 2009, 18:25:10 UTC
Merged revisions 72799 via svnmerge from
Tip revision: e2e1561
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;
PyAPI_DATA(PyTypeObject) PyCallIter_Type;
PyAPI_DATA(PyTypeObject) PyCmpWrapper_Type;

#define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)

PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);


#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