summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-27 08:11:48 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-27 08:11:48 (GMT)
commitb9915973f3522d3feaa862aaacd4d7d269f6fc72 (patch)
treee30a6634ad08bd39d80f606075d763b029b6b40b /Doc
parentd1c85fd2835bafa0fde0b95b82b6e0fffd60649a (diff)
downloadcpython-b9915973f3522d3feaa862aaacd4d7d269f6fc72.zip
cpython-b9915973f3522d3feaa862aaacd4d7d269f6fc72.tar.gz
cpython-b9915973f3522d3feaa862aaacd4d7d269f6fc72.tar.bz2
Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicate
arguments. Patch by Glenn Langford.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/concurrent.futures.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst
index c2f92b3..575b1ea 100644
--- a/Doc/library/concurrent.futures.rst
+++ b/Doc/library/concurrent.futures.rst
@@ -368,7 +368,8 @@ Module Functions
Returns an iterator over the :class:`Future` instances (possibly created by
different :class:`Executor` instances) given by *fs* that yields futures as
- they complete (finished or were cancelled). Any futures that completed
+ they complete (finished or were cancelled). Any futures given by *fs* that
+ are duplicated will be returned once. Any futures that completed
before :func:`as_completed` is called will be yielded first. The returned
iterator raises a :exc:`TimeoutError` if :meth:`~iterator.__next__` is
called and the result isn't available after *timeout* seconds from the