[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 ef633e5000)

Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-01-14 22:46:06 -08:00 committed by GitHub
parent c7aa39286b
commit 6d98282ed4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -504,9 +504,9 @@ are always available. They are listed here in alphabetical order.
Equivalent to::
def enumerate(sequence, start=0):
def enumerate(iterable, start=0):
n = start
for elem in sequence:
for elem in iterable:
yield n, elem
n += 1