summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorubordignon <48903745+ubordignon@users.noreply.github.com>2019-06-15 11:43:10 (GMT)
committerCheryl Sabella <cheryl.sabella@gmail.com>2019-06-15 11:43:10 (GMT)
commit552ace7498722f1add9f3782751b0d365f4c24c8 (patch)
tree646a7e35db94fe80cdbc4da432b8e60572cfe50d /Lib
parentf475729a714a9fb13672f8989c4abbafb783e09b (diff)
downloadcpython-552ace7498722f1add9f3782751b0d365f4c24c8.zip
cpython-552ace7498722f1add9f3782751b0d365f4c24c8.tar.gz
cpython-552ace7498722f1add9f3782751b0d365f4c24c8.tar.bz2
Fix typo in Lib/concurrent/futures/thread.py (GH-13953)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/concurrent/futures/process.py2
-rw-r--r--Lib/concurrent/futures/thread.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py
index cfdcd3e..9e2ab9d 100644
--- a/Lib/concurrent/futures/process.py
+++ b/Lib/concurrent/futures/process.py
@@ -505,7 +505,7 @@ class ProcessPoolExecutor(_base.Executor):
worker processes will be created as the machine has processors.
mp_context: A multiprocessing context to launch the workers. This
object should provide SimpleQueue, Queue and Process.
- initializer: An callable used to initialize worker processes.
+ initializer: A callable used to initialize worker processes.
initargs: A tuple of arguments to pass to the initializer.
"""
_check_system_limits()
diff --git a/Lib/concurrent/futures/thread.py b/Lib/concurrent/futures/thread.py
index 75d05a7..d84b3aa 100644
--- a/Lib/concurrent/futures/thread.py
+++ b/Lib/concurrent/futures/thread.py
@@ -125,7 +125,7 @@ class ThreadPoolExecutor(_base.Executor):
max_workers: The maximum number of threads that can be used to
execute the given calls.
thread_name_prefix: An optional name prefix to give our threads.
- initializer: An callable used to initialize worker threads.
+ initializer: A callable used to initialize worker threads.
initargs: A tuple of arguments to pass to the initializer.
"""
if max_workers is None: