mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fix typo.
This commit is contained in:
parent
207d229933
commit
0e1af282b8
1 changed files with 2 additions and 2 deletions
|
@ -831,10 +831,10 @@ setiter_reduce(setiterobject *si)
|
||||||
if (!list)
|
if (!list)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
/* copy the itertor state */
|
/* copy the iterator state */
|
||||||
tmp = *si;
|
tmp = *si;
|
||||||
Py_XINCREF(tmp.si_set);
|
Py_XINCREF(tmp.si_set);
|
||||||
|
|
||||||
/* iterate the temporary into a list */
|
/* iterate the temporary into a list */
|
||||||
for(;;) {
|
for(;;) {
|
||||||
PyObject *element = setiter_iternext(&tmp);
|
PyObject *element = setiter_iternext(&tmp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue