summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-04-06 14:42:43 (GMT)
committerGeorg Brandl <georg@python.org>2013-04-06 14:42:43 (GMT)
commitcca5548159bde03b344cf1f2a2b5ea2eec3a59aa (patch)
treee4b824e0d4dbd13241a4a6dc287d8e6fc397faa2 /Doc/library
parent2fd4abe6a1f54fe7a5409abf84060bae47a52044 (diff)
parent485acde0feb93c65de6d1a204efb81df6156d9a6 (diff)
downloadcpython-cca5548159bde03b344cf1f2a2b5ea2eec3a59aa.zip
cpython-cca5548159bde03b344cf1f2a2b5ea2eec3a59aa.tar.gz
cpython-cca5548159bde03b344cf1f2a2b5ea2eec3a59aa.tar.bz2
merge with 3.3.1 release clone
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/concurrent.futures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst
index 51584ef..a12316c 100644
--- a/Doc/library/concurrent.futures.rst
+++ b/Doc/library/concurrent.futures.rst
@@ -144,7 +144,7 @@ ThreadPoolExecutor Example
# We can use a with statement to ensure threads are cleaned up promptly
with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor:
# Start the load operations and mark each future with its URL
- future_to_url = {executor.submit(load_url, url, 60):url for url in URLS}
+ future_to_url = {executor.submit(load_url, url, 60): url for url in URLS}
for future in concurrent.futures.as_completed(future_to_url):
url = future_to_url[future]
try: