Skip to content

Commit 6d98282

Browse files
[3.11] Sync-up parameter name in equivalent code snippet of enumerate (GH-101029) (#101030)
Sync-up parameter name in equivalent code snippet of `enumerate` (GH-101029) (cherry picked from commit ef633e5) Co-authored-by: JustAnotherArchivist <[email protected]>
1 parent c7aa392 commit 6d98282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ are always available. They are listed here in alphabetical order.
504504

505505
Equivalent to::
506506

507-
def enumerate(sequence, start=0):
507+
def enumerate(iterable, start=0):
508508
n = start
509-
for elem in sequence:
509+
for elem in iterable:
510510
yield n, elem
511511
n += 1
512512

0 commit comments

Comments
 (0)