Skip to content

Commit ac87e24

Browse files
committed
nit
1 parent 6530adc commit ac87e24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,8 @@ will monitor how much time has elapsed and, accordingly, call
539539
# Block until the future is marked as done.
540540
await future
541541

542-
We'll use a rather bare object, ``YieldToEventLoop()``, to ``yield`` from
543-
``__await__`` in order to cede control to the event loop.
542+
Below, we'll use a rather bare object, ``YieldToEventLoop()``, to ``yield``
543+
from ``__await__`` in order to cede control to the event loop.
544544
This is effectively the same as calling ``asyncio.sleep(0)``, but this approach
545545
offers more clarity, not to mention it's somewhat cheating to use
546546
``asyncio.sleep`` when showcasing how to implement it!

0 commit comments

Comments
 (0)