Skip to content

Commit 4e021da

Browse files
committed
Revert "adding *ctxkwargs* to ThreadPoolExecutor"
1 parent f576ea5 commit 4e021da

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Doc/library/concurrent.futures.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ And::
147147
executor.submit(wait_on_future)
148148

149149

150-
.. class:: ThreadPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=(), **ctxkwargs)
150+
.. class:: ThreadPoolExecutor(max_workers=None, thread_name_prefix='', initializer=None, initargs=())
151151

152152
An :class:`Executor` subclass that uses a pool of at most *max_workers*
153153
threads to execute calls asynchronously.
@@ -194,10 +194,6 @@ And::
194194
Default value of *max_workers* is changed to
195195
``min(32, (os.process_cpu_count() or 1) + 4)``.
196196

197-
.. versionchanged:: next
198-
Added *ctxkwargs* to pass additional arguments to ``cls.prepare_context``
199-
class method.
200-
201197

202198
.. _threadpoolexecutor-example:
203199

0 commit comments

Comments
 (0)