Staging
v0.5.1
https://github.com/python/cpython
Revision 5e9e9db9d9b648d2326e2853dc07377e12498e3f authored by Miss Islington (bot) on 29 May 2018, 15:59:27 UTC, committed by Yury Selivanov on 29 May 2018, 15:59:27 UTC
(cherry picked from commit a9cab433bbf02f3a1de59d14dc8f583181ffe2d5)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
1 parent e151f83
Raw File
Tip revision: 5e9e9db9d9b648d2326e2853dc07377e12498e3f authored by Miss Islington (bot) on 29 May 2018, 15:59:27 UTC
bpo-33197: Update a error message of invalid inspect.Parameters. (GH-6636) (#7205)
Tip revision: 5e9e9db
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