Skip to content

Commit 11f2e8e

Browse files
committed
update po->result
1 parent 68b5d27 commit 11f2e8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/itertoolsmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ pairwise_next(pairwiseobject *po)
384384
if (result != NULL) {
385385
PyTuple_SET_ITEM(result, 0, Py_NewRef(old));
386386
PyTuple_SET_ITEM(result, 1, Py_NewRef(new));
387+
po->result = result;
387388
}
388389
}
389390

0 commit comments

Comments
 (0)