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