]> granicus.if.org Git - python/commitdiff
Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)
authorJoni Kähärä <joni.kahara@gmail.com>
Tue, 25 Sep 2018 03:30:25 +0000 (06:30 +0300)
committerXiang Zhang <angwerzx@126.com>
Tue, 25 Sep 2018 03:30:25 +0000 (11:30 +0800)
Doc/library/concurrent.futures.rst

index 6934acc7f88e279d5ea79a8405d4529efce9b95d..47ca6b38f84eeea7e1fe417c8aeef88c9769e917 100644 (file)
@@ -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