File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -340,8 +340,9 @@ zipiter_next(zipiterobject *zit)
340340 Py_INCREF (result );
341341 for (i = 0 ; i < tuplesize ; i ++ ) {
342342 PyObject * it = PyTuple_GET_ITEM (zit -> it_tuple , i );
343+ PyObject * item ;
343344 assert (PyIter_Check (it ));
344- PyObject * item = (* it -> ob_type -> tp_iternext )(it );
345+ item = (* it -> ob_type -> tp_iternext )(it );
345346 if (item == NULL ) {
346347 Py_DECREF (result );
347348 return NULL ;
@@ -356,8 +357,9 @@ zipiter_next(zipiterobject *zit)
356357 return NULL ;
357358 for (i = 0 ; i < tuplesize ; i ++ ) {
358359 PyObject * it = PyTuple_GET_ITEM (zit -> it_tuple , i );
360+ PyObject * item ;
359361 assert (PyIter_Check (it ));
360- PyObject * item = (* it -> ob_type -> tp_iternext )(it );
362+ item = (* it -> ob_type -> tp_iternext )(it );
361363 if (item == NULL ) {
362364 Py_DECREF (result );
363365 return NULL ;
You can’t perform that action at this time.
0 commit comments