Skip to content

Commit 9f07afa

Browse files
Mention import at least once in the readme (#361)
Co-authored-by: Sam Bull <[email protected]>
1 parent e1c8827 commit 9f07afa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)