summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorJoni Kähärä <joni.kahara@gmail.com>2018-09-25 03:30:25 (GMT)
committerXiang Zhang <angwerzx@126.com>2018-09-25 03:30:25 (GMT)
commitb60b4683f6c995e9205f68439023c80a0b628f39 (patch)
tree7103d640c77390729c68d1d2cda0963fd339a86e /Doc/library
parent16fba6231458cc1ff82db8695ee772b74131cc83 (diff)
downloadcpython-b60b4683f6c995e9205f68439023c80a0b628f39.zip
cpython-b60b4683f6c995e9205f68439023c80a0b628f39.tar.gz
cpython-b60b4683f6c995e9205f68439023c80a0b628f39.tar.bz2
Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/concurrent.futures.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst
index 6934acc..47ca6b3 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