Corrected typo

This commit is contained in:
Brandon Rozek 2020-04-11 22:10:08 -04:00
parent c5f1d9e7a5
commit 0a9c91a92f

View file

@ -26,7 +26,7 @@ You can also apply a function to a list or iterables
def double(x):
return 2 * x
with ThreadPoolExecutor() as executor:
future = executor.submit(function_handle, [1, 2, 3])
future = executor.map(function_handle, [1, 2, 3])
result = future.result()
```