diff options
author | Harmandeep Singh <harmandeep3091@gmail.com> | 2019-03-18 07:23:07 +0530 |
---|---|---|
committer | Ned Deily <nad@python.org> | 2019-03-17 21:53:07 -0400 |
commit | e601ef0fa384d149f6759fff3c18762a8c63851e (patch) | |
tree | a58fa38d97bbb864fde85ac8f5fb8c53d6604b72 /Doc | |
parent | 23fc0416454c4ad5b9b23d520fbe6d89be3efc24 (diff) | |
download | cpython-git-e601ef0fa384d149f6759fff3c18762a8c63851e.tar.gz |
bpo-36195: Remove the ThreadPoolExecutor documentation mentioning the initializer feature added in Python 3.7 (GH-12182)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/concurrent.futures.rst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst index 69dfd0f47c..319f757aa9 100644 --- a/Doc/library/concurrent.futures.rst +++ b/Doc/library/concurrent.futures.rst @@ -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, |