mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Remove bogus INCREF of ziptuple: it is a
freshly-allocated tuple object.
This commit is contained in:
parent
14b6d92e21
commit
21298cfea6
1 changed files with 0 additions and 1 deletions
|
|
@ -302,7 +302,6 @@ _PyZip_CreateIter(PyObject* args)
|
|||
|
||||
zipiter->result = (PyTupleObject*) result;
|
||||
zipiter->resultsize = tuplesize;
|
||||
Py_INCREF(ziptuple);
|
||||
zipiter->it_tuple = (PyTupleObject *) ziptuple;
|
||||
_PyObject_GC_TRACK(zipiter);
|
||||
return (PyObject *)zipiter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue