Skip to content

Commit 0fda862

Browse files
Apply suggestions from code review
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
1 parent 54c5188 commit 0fda862

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Now :func:`itertools.zip_longest` raises an :exc:`ValueError` when a reentrancy is detected.
1+
Now :func:`itertools.zip_longest` raises a :exc:`ValueError` when a reentrancy is detected.

Modules/itertoolsmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3896,7 +3896,7 @@ zip_longest_next_lock_held(PyObject *op)
38963896

38973897
if (lz->running == 1) {
38983898
PyErr_SetString(PyExc_ValueError,
3899-
"zip_logest() iterator already executing");
3899+
"zip_longest() iterator already executing");
39003900
return NULL;
39013901
}
39023902
lz->running = 1;

0 commit comments

Comments
 (0)