Skip to content

Commit d12b29f

Browse files
committed
- introduce async-sleep name
1 parent 9e07a36 commit d12b29f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/howto/a-conceptual-overview-of-asyncio.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ A homemade asyncio.sleep
369369
========================
370370

371371
We'll go through an example of how you could leverage a future to create your
372-
own variant of asynchronous sleep -- :func:`asyncio.sleep`.
372+
own variant of asynchronous sleep (``async_sleep``) which mimics
373+
:func:`asyncio.sleep`.
373374

374375
This snippet puts a few tasks on the event loop's queue and then ``await``\ s a
375376
coroutine wrapped in a task: ``async_sleep(3)``.

0 commit comments

Comments
 (0)