Skip to content

Commit

Permalink
Reflect parameter name change in the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Oct 1, 2015
1 parent 89719e1 commit 1c62b52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/asyncio-eventloop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -582,14 +582,14 @@ Call a function in an :class:`~concurrent.futures.Executor` (pool of threads or
pool of processes). By default, an event loop uses a thread pool executor
(:class:`~concurrent.futures.ThreadPoolExecutor`).

.. coroutinemethod:: BaseEventLoop.run_in_executor(executor, callback, \*args)
.. coroutinemethod:: BaseEventLoop.run_in_executor(executor, func, \*args)

Arrange for a callback to be called in the specified executor.
Arrange for a *func* to be called in the specified executor.

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

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

This method is a :ref:`coroutine <coroutine>`.
Expand Down

0 comments on commit 1c62b52

Please sign in to comment.