From: Georg Brandl Date: Mon, 5 May 2008 21:04:12 +0000 (+0000) Subject: Clarify map() behavior. X-Git-Tag: v3.0a5~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de2b00e911e606741e2b0f2d568a187552f49631;p=python Clarify map() behavior. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 4fbb5e540d..7ecadad634 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])