diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/library/uasyncio.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/library/uasyncio.rst b/docs/library/uasyncio.rst index 641fa3345..9cb0ca9bb 100644 --- a/docs/library/uasyncio.rst +++ b/docs/library/uasyncio.rst @@ -67,6 +67,9 @@ Additional functions that *timeout* seconds. If *awaitable* is not a task then a task will be created from it. + If a timeout occurs, it cancels the task and raises ``asyncio.TimeoutError``: + this should be trapped by the caller. + Returns the return value of *awaitable*. This is a coroutine. |
