Skip to content

Commit 9f07afa

Browse files
Mention import at least once in the readme (#361)
Co-authored-by: Sam Bull <aa6bs0@sambull.org>
1 parent e1c8827 commit 9f07afa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ because ``timeout`` doesn't create a new task.
2525
The ``timeout(delay, *, loop=None)`` call returns a context manager
2626
that cancels a block on *timeout* expiring::
2727

28+
from async_timeout import timeout
2829
async with timeout(1.5):
2930
await inner()
3031

0 commit comments

Comments
 (0)