Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b60b468

Browse files
kaharazhangyangyu
authored andcommitted
Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)
1 parent 16fba62 commit b60b468

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/concurrent.futures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ to a :class:`ProcessPoolExecutor` will result in deadlock.
223223
*initializer* is an optional callable that is called at the start of
224224
each worker process; *initargs* is a tuple of arguments passed to the
225225
initializer. Should *initializer* raise an exception, all currently
226-
pending jobs will raise a :exc:`~concurrent.futures.thread.BrokenThreadPool`,
226+
pending jobs will raise a :exc:`~concurrent.futures.process.BrokenProcessPool`,
227227
as well any attempt to submit more jobs to the pool.
228228

229229
.. versionchanged:: 3.3

0 commit comments

Comments
 (0)