Skip to content

Commit

Permalink
Update README.rst, clarify timeout() signature (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Nov 7, 2024
1 parent 796b7f3 commit cc72a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ logic around block of code or in cases when ``asyncio.wait_for()`` is
not suitable. Also it's much faster than ``asyncio.wait_for()``
because ``timeout`` doesn't create a new task.

The ``timeout(delay, *, loop=None)`` call returns a context manager
The ``timeout(delay)`` call returns a context manager
that cancels a block on *timeout* expiring::

from async_timeout import timeout
Expand Down

0 comments on commit cc72a6d

Please sign in to comment.