Commit cd602b8a authored by Hrvoje Nikšić's avatar Hrvoje Nikšić Committed by Andrew Svetlov

bpo-34476: Document that asyncio.sleep() always suspends. (#9643)

parent e972c136
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment