]> granicus.if.org Git - python/commitdiff
Clarify map() behavior.
authorGeorg Brandl <georg@python.org>
Mon, 5 May 2008 21:04:12 +0000 (21:04 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 5 May 2008 21:04:12 +0000 (21:04 +0000)
Doc/library/functions.rst

index 4fbb5e540d527dc3bd3feb3f121d6488680e73e6..7ecadad63436f4df82938a6d8a5e76526303216e 100644 (file)
@@ -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])