mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #24487: Rename async() -> ensure_future() in asyncio docs.
Patch by Martin Panter.
This commit is contained in:
parent
59a3b6764c
commit
04356e1f6f
4 changed files with 13 additions and 13 deletions
|
@ -36,7 +36,7 @@ Run an event loop
|
|||
Run until the :class:`Future` is done.
|
||||
|
||||
If the argument is a :ref:`coroutine object <coroutine>`, it is wrapped by
|
||||
:func:`async`.
|
||||
:func:`ensure_future`.
|
||||
|
||||
Return the Future's result, or raise its exception.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue