Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 687af44

Browse filesBrowse files
Fix typo in Lib/concurrent/futures/thread.py (GH-13953)
(cherry picked from commit 552ace7) Co-authored-by: ubordignon <48903745+ubordignon@users.noreply.github.com>
1 parent b6ff2cd commit 687af44
Copy full SHA for 687af44

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎Lib/concurrent/futures/process.py

Copy file name to clipboardExpand all lines: Lib/concurrent/futures/process.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ def __init__(self, max_workers=None, mp_context=None,
505505
worker processes will be created as the machine has processors.
506506
mp_context: A multiprocessing context to launch the workers. This
507507
object should provide SimpleQueue, Queue and Process.
508-
initializer: An callable used to initialize worker processes.
508+
initializer: A callable used to initialize worker processes.
509509
initargs: A tuple of arguments to pass to the initializer.
510510
"""
511511
_check_system_limits()

‎Lib/concurrent/futures/thread.py

Copy file name to clipboardExpand all lines: Lib/concurrent/futures/thread.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(self, max_workers=None, thread_name_prefix='',
125125
max_workers: The maximum number of threads that can be used to
126126
execute the given calls.
127127
thread_name_prefix: An optional name prefix to give our threads.
128-
initializer: An callable used to initialize worker threads.
128+
initializer: A callable used to initialize worker threads.
129129
initargs: A tuple of arguments to pass to the initializer.
130130
"""
131131
if max_workers is None:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.