Update Doc/library/asyncio-task.rst
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
This commit is contained in:
parent
896271ad57
commit
45daa5d6b1
|
@ -293,7 +293,7 @@ Sleeping
|
|||
``sleep()`` always suspends the current task, allowing other tasks
|
||||
to run.
|
||||
|
||||
Setting the delay to 0 provides an optimized path to to allow other
|
||||
Setting the delay to 0 provides an optimized path to allow other
|
||||
tasks to run. This can be used by long-running functions to avoid
|
||||
blocking the event loop for the full duration of the function call.
|
||||
|
||||
|
|
Loading…
Reference in New Issue