From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 25 Sep 2018 03:35:46 +0000 (-0700) Subject: Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533) X-Git-Tag: v3.7.1rc1~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbdf8723324e31675f298dd273733cc13e1518df;p=thirdparty%2FPython%2Fcpython.git Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533) (cherry picked from commit b60b4683f6c995e9205f68439023c80a0b628f39) Co-authored-by: Joni Kähärä --- diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst index 707d24dc2529..b1b086b442de 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