mirror of
https://github.com/python/cpython.git
synced 2025-11-11 22:55:08 +00:00
Issue #28348: Fix typo in asyncio.Task() documentation
Patch by Mariatta Wijaya.
This commit is contained in:
parent
7338ebc4ba
commit
002b0a7ecd
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@ Task
|
||||||
|
|
||||||
A task is responsible for executing a coroutine object in an event loop. If
|
A task is responsible for executing a coroutine object in an event loop. If
|
||||||
the wrapped coroutine yields from a future, the task suspends the execution
|
the wrapped coroutine yields from a future, the task suspends the execution
|
||||||
of the wrapped coroutine and waits for the completition of the future. When
|
of the wrapped coroutine and waits for the completion of the future. When
|
||||||
the future is done, the execution of the wrapped coroutine restarts with the
|
the future is done, the execution of the wrapped coroutine restarts with the
|
||||||
result or the exception of the future.
|
result or the exception of the future.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue