Skip to content

Commit 90e995b

Browse files
Update Modules/itertoolsmodule.c
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
1 parent 8c61450 commit 90e995b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modules/itertoolsmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,9 @@ groupby_next(PyObject *op)
547547
int rcmp;
548548

549549
/* A user-defined __eq__ can re-enter groupby and advance the iterator,
550-
mutating gbo->tgtkey / gbo->currkey while we are comparing them.
551-
Take local snapshots and hold strong references so INCREF/DECREF
552-
apply to the same objects even under re-entrancy. */
550+
mutating gbo->tgtkey / gbo->currkey while we are comparing them.
551+
Take local snapshots and hold strong references so INCREF/DECREF
552+
apply to the same objects even under re-entrancy. */
553553
PyObject *tgtkey = gbo->tgtkey;
554554
PyObject *currkey = gbo->currkey;
555555

0 commit comments

Comments
 (0)