We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba47add commit 4187f2aCopy full SHA for 4187f2a
Doc/library/asyncio-eventloop.rst
@@ -1262,6 +1262,9 @@ Executing code in thread or process pools
1262
1263
The *executor* argument should be an :class:`concurrent.futures.Executor`
1264
instance. The default executor is used if *executor* is ``None``.
1265
+ The default executor can be set by :meth:`loop.set_default_executor`,
1266
+ otherwise, a :class:`concurrent.futures.ThreadPoolExecutor` will be
1267
+ lazy-initialized and used by :func:`run_in_executor` if needed.
1268
1269
Example::
1270
0 commit comments