summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2014-01-26 17:57:51 (GMT)
committerGuido van Rossum <guido@python.org>2014-01-26 17:57:51 (GMT)
commite6994ff6e341d049ca974d88f14ad608f5cf7a64 (patch)
treefdf31e84a04b142f35c0d16fd1e36343a3e4119e /Doc/library
parent252fd0c24b15e38c80053a9569272654fd12868a (diff)
downloadcpython-e6994ff6e341d049ca974d88f14ad608f5cf7a64.zip
cpython-e6994ff6e341d049ca974d88f14ad608f5cf7a64.tar.gz
cpython-e6994ff6e341d049ca974d88f14ad608f5cf7a64.tar.bz2
Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments.
Patch by Glenn Langford.
Diffstat (limited to 'Doc/library')
-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 93538e4..0495737 100644
--- a/Doc/library/concurrent.futures.rst
+++ b/Doc/library/concurrent.futures.rst
@@ -371,7 +371,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