docs/library: Note that uasyncio.wait_for() can raise exception.

pull/5902/head
Peter Hinch 2020-04-08 09:55:32 +01:00 zatwierdzone przez Damien George
rodzic d6f80963df
commit 7409467361
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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.