Staging
v0.5.1
https://github.com/python/cpython
Revision 29afab6c5f656f07ac85c9b2cf089631b2557a11 authored by Ned Deily on 05 December 2020, 04:02:09 UTC, committed by GitHub on 05 December 2020, 04:02:09 UTC
If no explicit macOS SDK was specified, setup.py should check for
Tcl and TK frameworks in /Library/Frameworks; the previous commit
inadvertently broke that test.
1 parent 226a012
Raw File
Tip revision: 29afab6c5f656f07ac85c9b2cf089631b2557a11 authored by Ned Deily on 05 December 2020, 04:02:09 UTC
bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649)
Tip revision: 29afab6
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;

#define PySeqIter_Check(op) Py_IS_TYPE(op, &PySeqIter_Type)

PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *);


#define PyCallIter_Check(op) Py_IS_TYPE(op, &PyCallIter_Type)

PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);

#ifdef __cplusplus
}
#endif
#endif /* !Py_ITEROBJECT_H */

back to top