Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e601ef0

Browse files
harmandsned-deily
authored andcommitted
bpo-36195: Remove the ThreadPoolExecutor documentation mentioning the initializer feature added in Python 3.7 (GH-12182)
1 parent 23fc041 commit e601ef0

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Doc/library/concurrent.futures.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,6 @@ And::
137137
An :class:`Executor` subclass that uses a pool of at most *max_workers*
138138
threads to execute calls asynchronously.
139139

140-
*initializer* is an optional callable that is called at the start of
141-
each worker thread; *initargs* is a tuple of arguments passed to the
142-
initializer. Should *initializer* raise an exception, all currently
143-
pending jobs will raise a :exc:`~concurrent.futures.thread.BrokenThreadPool`,
144-
as well any attempt to submit more jobs to the pool.
145-
146140
.. versionchanged:: 3.5
147141
If *max_workers* is ``None`` or
148142
not given, it will default to the number of processors on the machine,

0 commit comments

Comments
 (0)