]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-36195: Remove the ThreadPoolExecutor documentation mentioning the initializer...
authorHarmandeep Singh <harmandeep3091@gmail.com>
Mon, 18 Mar 2019 01:53:07 +0000 (07:23 +0530)
committerNed Deily <nad@python.org>
Mon, 18 Mar 2019 01:53:07 +0000 (21:53 -0400)
Doc/library/concurrent.futures.rst

index 69dfd0f47c1cef780b1cae06b9ee5ef8acc0399e..319f757aa9063d947b14efb0cc6dbf766d7467c6 100644 (file)
@@ -137,12 +137,6 @@ And::
    An :class:`Executor` subclass that uses a pool of at most *max_workers*
    threads to execute calls asynchronously.
 
-   *initializer* is an optional callable that is called at the start of
-   each worker thread; *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`,
-   as well any attempt to submit more jobs to the pool.
-
    .. versionchanged:: 3.5
       If *max_workers* is ``None`` or
       not given, it will default to the number of processors on the machine,