Skip to content

Commit 43c1c96

Browse files
committed
style nits
1 parent 55a268c commit 43c1c96

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,10 @@ coroutine ``plant_a_tree()``.
221221
As seen above, that coroutine creates a task, then awaits it.
222222
The ``await dig_the_hole_task`` instruction adds a callback, which will resume
223223
``plant_a_tree()``, to the ``dig_the_hole_task`` object's list of callbacks.
224-
Eventually, the event loop will pass control to the ``dig_the_hole_task``
224+
And then, the instruction cedes control to the event loop.
225+
Some time later, the event loop will pass control to the ``dig_the_hole_task``
225226
and the task will finish whatever it needs to do.
226-
Once the task finishes, it will add the various callbacks to the event loop,
227+
Once the task finishes, it will add its various callbacks to the event loop,
227228
in this case, a call to resume ``plant_a_tree()``.
228229

229230
Generally speaking, when the awaited task finishes (``dig_the_hole_task``),

0 commit comments

Comments
 (0)