summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-05 21:04:12 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-05 21:04:12 (GMT)
commitde2b00e911e606741e2b0f2d568a187552f49631 (patch)
treefd30dd13aa408fef2f8053a43b05d3df6d993c54 /Doc
parent1a9f900073c7e5e3f01dac552ab232ebe320b598 (diff)
downloadcpython-de2b00e911e606741e2b0f2d568a187552f49631.zip
cpython-de2b00e911e606741e2b0f2d568a187552f49631.tar.gz
cpython-de2b00e911e606741e2b0f2d568a187552f49631.tar.bz2
Clarify map() behavior.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst4
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])