mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Clarify map() behavior.
This commit is contained in:
parent
1a9f900073
commit
de2b00e911
1 changed files with 3 additions and 1 deletions
|
|
@ -640,7 +640,9 @@ available. They are listed here in alphabetical order.
|
|||
Return an iterator that applies *function* to every item of *iterable*,
|
||||
yielding the results. If additional *iterable* arguments are passed,
|
||||
*function* must take that many arguments and is applied to the items from all
|
||||
iterables in parallel.
|
||||
iterables in parallel. With multiple iterables, the iterator stops when the
|
||||
shortest iterable is exhausted.
|
||||
|
||||
|
||||
.. function:: max(iterable[, args...], *[, key])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue