Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1c62b52c
Commit
1c62b52c
authored
Oct 01, 2015
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflect parameter name change in the doc
parent
89719e1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/asyncio-eventloop.rst
Doc/library/asyncio-eventloop.rst
+3
-3
No files found.
Doc/library/asyncio-eventloop.rst
View file @
1c62b52c
...
...
@@ -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>`.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment