diff --git a/docs/library/uasyncio.rst b/docs/library/uasyncio.rst index 641fa33457..9cb0ca9bb9 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.