diff options
-rw-r--r-- | Doc/library/asyncio-task.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index d7102b8..ffeeb2d 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -276,6 +276,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. |