mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
SF patch 1546297 (with some tweaks):
Create a real zip iterator object; not using itertools.izip (Brian Holmes).
This commit is contained in:
parent
e2e23ef97d
commit
b65fb33b02
3 changed files with 177 additions and 15 deletions
|
|
@ -16,6 +16,9 @@ PyAPI_DATA(PyTypeObject) PyCallIter_Type;
|
|||
#define PyCallIter_Check(op) ((op)->ob_type == &PyCallIter_Type)
|
||||
|
||||
PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *);
|
||||
|
||||
PyObject* _PyZip_CreateIter(PyObject* args);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue