Skip to content
Merged
Changes from 1 commit
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
5 changes: 5 additions & 0 deletions Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,11 @@ Timeouts
The context manager produced by :func:`asyncio.timeout` can be
rescheduled to a different deadline and inspected.

.. note::
Comment thread
picnixz marked this conversation as resolved.
Outdated

Prefer using :func:`asyncio.timeout` or :func:`asyncio.timeout_at`
rather than instantiating :class:`Timeout` directly.

.. class:: Timeout(when)

An :ref:`asynchronous context manager <async-context-managers>`
Expand Down
Loading