diff --git a/README.md b/README.md index 2c06fc2..0c6ee21 100644 --- a/README.md +++ b/README.md @@ -2030,7 +2030,7 @@ with lock: ... ``` -### Thread Pool +### Thread Pool Executor ```python from concurrent.futures import ThreadPoolExecutor with ThreadPoolExecutor(max_workers=None) as executor: diff --git a/index.html b/index.html index dc59afe..7af620c 100644 --- a/index.html +++ b/index.html @@ -1786,7 +1786,7 @@ lock.release() ... -

Thread Pool

from concurrent.futures import ThreadPoolExecutor
+

Thread Pool Executor

from concurrent.futures import ThreadPoolExecutor
 with ThreadPoolExecutor(max_workers=None) as executor:
     <iter>   = executor.map(lambda x: x + 1, range(3))         # (1, 2, 3)
     <iter>   = executor.map(lambda x, y: x + y, 'abc', '123')  # ('a1', 'b2', 'c3')