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