Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
552ace74
Commit
552ace74
authored
Jun 15, 2019
by
ubordignon
Committed by
Cheryl Sabella
Jun 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in Lib/concurrent/futures/thread.py (GH-13953)
parent
f475729a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Lib/concurrent/futures/process.py
Lib/concurrent/futures/process.py
+1
-1
Lib/concurrent/futures/thread.py
Lib/concurrent/futures/thread.py
+1
-1
No files found.
Lib/concurrent/futures/process.py
View file @
552ace74
...
...
@@ -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: A
n
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
()
...
...
Lib/concurrent/futures/thread.py
View file @
552ace74
...
...
@@ -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: A
n
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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment