Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,9 @@ Shielding From Cancellation
Timeouts
========

.. coroutinefunction:: timeout(delay)
.. function:: timeout(delay)

An :ref:`asynchronous context manager <async-context-managers>`
Return an :ref:`asynchronous context manager <async-context-managers>`
that can be used to limit the amount of time spent waiting on
something.

Expand Down Expand Up @@ -724,7 +724,7 @@ Timeouts

.. versionadded:: 3.11

.. coroutinefunction:: timeout_at(when)
.. function:: timeout_at(when)

Similar to :func:`asyncio.timeout`, except *when* is the absolute time
to stop waiting, or ``None``.
Expand Down