8000 Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool … · python/cpython@bbdf872 · GitHub
[go: up one dir, main page]

Skip to content

Commit bbdf872

Browse files
Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)
(cherry picked from commit b60b468) Co-authored-by: Joni Kähärä <joni.kahara@gmail.com>
1 parent 65cc60b commit bbdf872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
0