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

This commit is contained in:
Hrvoje Nikšić 2018-10-01 12:09:38 +02:00 committed by Andrew Svetlov
parent e972c13624
commit cd602b8af2

View file

@ -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.