mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Sync with asyncio
This commit is contained in:
parent
c07b16b40f
commit
9d976fa75f
1 changed files with 1 additions and 1 deletions
|
|
@ -744,7 +744,7 @@ def timeout(timeout, *, loop=None):
|
|||
For example:
|
||||
|
||||
>>> with asyncio.timeout(0.001):
|
||||
>>> yield from coro()
|
||||
... yield from coro()
|
||||
|
||||
|
||||
timeout: timeout value in seconds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue