summaryrefslogtreecommitdiffstats
path: root/Doc/library/concurrent.futures.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-03-23 14:59:46 (GMT)
committerGeorg Brandl <georg@python.org>2013-03-23 14:59:46 (GMT)
commit0a1bc11c66a5037b4db8c414adce0012bf1d28fa (patch)
treed0d0e91b7c47a4ca46493f8cef4b09f55b581bf3 /Doc/library/concurrent.futures.rst
parent25fa27f5e92edcb0c901af1cd18c66c883ed17fe (diff)
downloadcpython-0a1bc11c66a5037b4db8c414adce0012bf1d28fa.zip
cpython-0a1bc11c66a5037b4db8c414adce0012bf1d28fa.tar.gz
cpython-0a1bc11c66a5037b4db8c414adce0012bf1d28fa.tar.bz2
Fix suspicious markup in the docs.
Diffstat (limited to 'Doc/library/concurrent.futures.rst')
-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 7ed99d5..6c22207 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: