mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)
This commit is contained in:
parent
16fba62314
commit
b60b4683f6
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ to a :class:`ProcessPoolExecutor` will result in deadlock.
|
|||
*initializer* is an optional callable that is called at the start of
|
||||
each worker process; *initargs* is a tuple of arguments passed to the
|
||||
initializer. Should *initializer* raise an exception, all currently
|
||||
pending jobs will raise a :exc:`~concurrent.futures.thread.BrokenThreadPool`,
|
||||
pending jobs will raise a :exc:`~concurrent.futures.process.BrokenProcessPool`,
|
||||
as well any attempt to submit more jobs to the pool.
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue