Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)

(cherry picked from commit b60b4683f6)

Co-authored-by: Joni Kähärä <joni.kahara@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-09-24 20:35:46 -07:00 committed by GitHub
parent 65cc60b368
commit bbdf872332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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