[Python-checkins] Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)

Xiang Zhang webhook-mailer at python.org
Mon Sep 24 23:30:35 EDT 2018


https://github.com/python/cpython/commit/b60b4683f6c995e9205f68439023c80a0b628f39
commit: b60b4683f6c995e9205f68439023c80a0b628f39
branch: master
author: Joni Kähärä <joni.kahara at gmail.com>
committer: Xiang Zhang <angwerzx at 126.com>
date: 2018-09-25T11:30:25+08:00
summary:

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

files:
M Doc/library/concurrent.futures.rst

diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst
index 6934acc7f88e..47ca6b38f84e 100644
--- a/Doc/library/concurrent.futures.rst
+++ b/Doc/library/concurrent.futures.rst
@@ -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



More information about the Python-checkins mailing list