We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb5e9f commit 5d366f2Copy full SHA for 5d366f2
Doc/library/asyncio-task.rst
@@ -578,9 +578,9 @@ Shielding From Cancellation
578
Timeouts
579
========
580
581
-.. coroutinefunction:: timeout(delay)
+.. function:: timeout(delay)
582
583
- An :ref:`asynchronous context manager <async-context-managers>`
+ Return an :ref:`asynchronous context manager <async-context-managers>`
584
that can be used to limit the amount of time spent waiting on
585
something.
586
@@ -671,7 +671,7 @@ Timeouts
671
672
.. versionadded:: 3.11
673
674
-.. coroutinefunction:: timeout_at(when)
+.. function:: timeout_at(when)
675
676
Similar to :func:`asyncio.timeout`, except *when* is the absolute time
677
to stop waiting, or ``None``.
0 commit comments