commit | b65fb33b022de9fefc8af76339f645c16614e2eb | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Aug 25 23:26:40 2006 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Aug 25 23:26:40 2006 +0000 |
tree | 9a4bc79caeb5e03b5c198282a9d85589d62537a2 | |
parent | e2e23ef97da1ce44c604d86d1f21c2701d7e581f [diff] |
SF patch 1546297 (with some tweaks): Create a real zip iterator object; not using itertools.izip (Brian Holmes).
diff --git a/Include/iterobject.h b/Include/iterobject.h index c078ebb..69deb45 100644 --- a/Include/iterobject.h +++ b/Include/iterobject.h
@@ -16,6 +16,9 @@ #define PyCallIter_Check(op) ((op)->ob_type == &PyCallIter_Type) PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); + +PyObject* _PyZip_CreateIter(PyObject* args); + #ifdef __cplusplus } #endif