From de2b00e911e606741e2b0f2d568a187552f49631 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 5 May 2008 21:04:12 +0000 Subject: [PATCH] Clarify map() behavior. --- Doc/library/functions.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]) -- 2.40.0