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

Skip to content

Commit 313242a

Browse files
committed
Merge 3.4 -> 3.5
2 parents ae86da9 + 1c62b52 commit 313242a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/asyncio-eventloop.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,14 +586,14 @@ Call a function in an :class:`~concurrent.futures.Executor` (pool of threads or
586586
pool of processes). By default, an event loop uses a thread pool executor
587587
(:class:`~concurrent.futures.ThreadPoolExecutor`).
588588

589-
.. coroutinemethod:: BaseEventLoop.run_in_executor(executor, callback, \*args)
589+
.. coroutinemethod:: BaseEventLoop.run_in_executor(executor, func, \*args)
590590

591-
Arrange for a callback to be called in the specified executor.
591+
Arrange for a *func* to be called in the specified executor.
592592

593593
The *executor* argument should be an :class:`~concurrent.futures.Executor`
594594
instance. The default executor is used if *executor* is ``None``.
595595

596-
:ref:`Use functools.partial to pass keywords to the callback
596+
:ref:`Use functools.partial to pass keywords to the *func*
597597
<asyncio-pass-keywords>`.
598598

599599
This method is a :ref:`coroutine <coroutine>`.

0 commit comments

Comments
 (0)