summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2015-10-01 06:48:08 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2015-10-01 06:48:08 (GMT)
commit1c62b52c3f2dceeaab99b1599c8654279fe5225f (patch)
tree746fcc75f9038a42590d4c3ed2d31d4272dac04a /Doc/library
parent89719e1daf8b15810145baf56d984ecbc1bab7ef (diff)
downloadcpython-1c62b52c3f2dceeaab99b1599c8654279fe5225f.zip
cpython-1c62b52c3f2dceeaab99b1599c8654279fe5225f.tar.gz
cpython-1c62b52c3f2dceeaab99b1599c8654279fe5225f.tar.bz2
Reflect parameter name change in the doc
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/asyncio-eventloop.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 78a07a0..656eca6 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -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>`.