mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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)
|
||||
return NULL;
|
||||
|
||||
/* copy the itertor state */
|
||||
/* copy the iterator state */
|
||||
tmp = *si;
|
||||
Py_XINCREF(tmp.si_set);
|
||||
|
||||
|
||||
/* iterate the temporary into a list */
|
||||
for(;;) {
|
||||
PyObject *element = setiter_iternext(&tmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue