Staging
v0.5.1
https://github.com/python/cpython
Revision 28626de45201fcfc575f6ffcc6af849673f04476 authored by Hirokazu Yamamoto on 02 February 2009, 09:46:30 UTC, committed by Hirokazu Yamamoto on 02 February 2009, 09:46:30 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r69202 | hirokazu.yamamoto | 2009-02-02 18:15:41 +0900 | 9 lines

  Merged revisions 69200 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r69200 | hirokazu.yamamoto | 2009-02-02 17:01:17 +0900 | 1 line

    Set native svn:eol-style property for text files.
  ........
................
1 parent c2c707c
Raw File
Tip revision: 28626de45201fcfc575f6ffcc6af849673f04476 authored by Hirokazu Yamamoto on 02 February 2009, 09:46:30 UTC
Merged revisions 69202 via svnmerge from
Tip revision: 28626de
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