diff options
author | Georg Brandl <georg@python.org> | 2008-05-05 21:04:12 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-05 21:04:12 (GMT) |
commit | de2b00e911e606741e2b0f2d568a187552f49631 (patch) | |
tree | fd30dd13aa408fef2f8053a43b05d3df6d993c54 | |
parent | 1a9f900073c7e5e3f01dac552ab232ebe320b598 (diff) | |
download | cpython-de2b00e911e606741e2b0f2d568a187552f49631.zip cpython-de2b00e911e606741e2b0f2d568a187552f49631.tar.gz cpython-de2b00e911e606741e2b0f2d568a187552f49631.tar.bz2 |
Clarify map() behavior.
-rw-r--r-- | Doc/library/functions.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 4fbb5e5..7ecadad 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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]) |