diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 198bd7d07a..3168f478f3 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -270,6 +270,9 @@ Sleeping If *result* is provided, it is returned to the caller when the coroutine completes. + ``sleep()`` always suspends the current task, allowing other tasks + to run. + The *loop* argument is deprecated and scheduled for removal in Python 3.10.