Kaydet (Commit) 40c67739 authored tarafından Nick Coghlan's avatar Nick Coghlan

Fix typo in example (pointed out by a couple of people, most recently Ken Rimey)

üst 903c3167
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment