diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index cc7142854b1..658d6768457 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -505,9 +505,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