Skip to content

Commit 7aca0e5

Browse files
committed
FIX: map prototype.
1 parent f6457e7 commit 7aca0e5

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
@@ -1021,9 +1021,9 @@ are always available. They are listed here in alphabetical order.
10211021
The contents of this dictionary should not be modified; changes may not
10221022
affect the values of local and free variables used by the interpreter.
10231023

1024-
.. function:: map(function, /, *iterables)
1024+
.. function:: map(function, /, iterable, *iterables)
10251025

1026-
Return an iterator that applies *function* to every item of *iterables*,
1026+
Return an iterator that applies *function* to every item of *iterable*,
10271027
yielding the results. If additional *iterables* arguments are passed,
10281028
*function* must take that many arguments and is applied to the items from all
10291029
iterables in parallel. With multiple iterables, the iterator stops when the

0 commit comments

Comments
 (0)