Staging
v0.5.1
https://github.com/python/cpython
Revision d6a14a14838ff2e7bd5f72633b0d9b6f6e12f20e authored by karl ding on 28 May 2019, 19:32:12 UTC, committed by Miss Islington (bot) on 28 May 2019, 19:32:12 UTC


There is an extra "one" in the text description for the constant
socket.CAN_RAW_FD_FRAMES
(cherry picked from commit 1b05aa219041eb1c9dbcb4ec6c1fa5b20f060bf5)
1 parent 95b7706
Raw File
Tip revision: d6a14a14838ff2e7bd5f72633b0d9b6f6e12f20e authored by karl ding on 28 May 2019, 19:32:12 UTC
[3.7] Fix typo in docs for socket.CAN_RAW_FD_FRAMES (GH-13635) (GH-13637)
Tip revision: d6a14a1
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