Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FIX: map prototype.
  • Loading branch information
JulienPalard committed Oct 13, 2022
commit 7aca0e534a16c541f1f6fc7ba94b967da0f1d5a1
4 changes: 2 additions & 2 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1021,9 +1021,9 @@ are always available. They are listed here in alphabetical order.
The contents of this dictionary should not be modified; changes may not
affect the values of local and free variables used by the interpreter.

.. function:: map(function, /, *iterables)
.. function:: map(function, /, iterable, *iterables)

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