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 540c0d9 commit 0e5eee0Copy full SHA for 0e5eee0
Doc/library/asyncio-task.rst
@@ -628,9 +628,9 @@ Shielding From Cancellation
628
Timeouts
629
========
630
631
-.. coroutinefunction:: timeout(delay)
+.. function:: timeout(delay)
632
633
- An :ref:`asynchronous context manager <async-context-managers>`
+ Return an :ref:`asynchronous context manager <async-context-managers>`
634
that can be used to limit the amount of time spent waiting on
635
something.
636
@@ -721,7 +721,7 @@ Timeouts
721
722
.. versionadded:: 3.11
723
724
-.. coroutinefunction:: timeout_at(when)
+.. function:: timeout_at(when)
725
726
Similar to :func:`asyncio.timeout`, except *when* is the absolute time
727
to stop waiting, or ``None``.
0 commit comments