File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -364,12 +364,12 @@ A homemade asyncio.sleep
364364========================
365365
366366We'll go through an example of how you could leverage a future to create your
367- own variant of asynchronous sleep ( :func: `asyncio.sleep `) .
367+ own variant of asynchronous sleep -- :func: `asyncio.sleep `.
368368
369- This snippet puts a few tasks on the event loops queue and then ``await ``\ s a
370- yet unknown coroutine wrapped in a task: ``async_sleep(3) ``.
369+ This snippet puts a few tasks on the event loop's queue and then ``await ``\ s a
370+ coroutine wrapped in a task: ``async_sleep(3) ``.
371371We want that task to finish only after 3 seconds have elapsed, but without
372- hogging control while waiting .
372+ preventing other tasks from running .
373373
374374::
375375
You can’t perform that action at this time.
0 commit comments