Staging
v0.5.1
https://github.com/python/cpython
Revision 7e7dbab08a85937cd6a81acfc57dfff3b42dfbb6 authored by Ronald Oussoren on 20 October 2010, 13:40:38 UTC, committed by Ronald Oussoren on 20 October 2010, 13:40:38 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85744 | ronald.oussoren | 2010-10-20 15:10:12 +0200 (Wed, 20 Oct 2010) | 7 lines

  Fix for issue #7473.

  Without this patch you'll get link errors in some extensions
  (in particular the _curses_panel) one when you try to build
  a 3-way universal framework when you previously installed a
  2-way universal framework using the python.org installer.
........
1 parent 455b0db
Raw File
Tip revision: 7e7dbab08a85937cd6a81acfc57dfff3b42dfbb6 authored by Ronald Oussoren on 20 October 2010, 13:40:38 UTC
Merged revisions 85744 via svnmerge from
Tip revision: 7e7dbab
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