diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-10-20 10:13:42 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-10-20 10:13:42 (GMT) |
commit | aaa28832fd5673e7b4b715c9d0ee65b4b2ac51ab (patch) | |
tree | 691e4c6cfdd8041f699928c2311c84273718e308 | |
parent | fe54fd51d2ecdec1178374a7ce613136e9e58702 (diff) | |
parent | 40c67739ba463b8aaa302cbcc4eb614294fb45d8 (diff) | |
download | cpython-aaa28832fd5673e7b4b715c9d0ee65b4b2ac51ab.zip cpython-aaa28832fd5673e7b4b715c9d0ee65b4b2ac51ab.tar.gz cpython-aaa28832fd5673e7b4b715c9d0ee65b4b2ac51ab.tar.bz2 |
Merge from 3.3
-rw-r--r-- | Doc/library/concurrent.futures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst index 62d8eac..7ed99d5 100644 --- a/Doc/library/concurrent.futures.rst +++ b/Doc/library/concurrent.futures.rst @@ -146,7 +146,7 @@ ThreadPoolExecutor Example # 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} for future in concurrent.futures.as_completed(future_to_url): - url = future_to_url[url] + url = future_to_url[future] try: data = future.result() except Exception as exc: |