Skip to content

Commit 3344574

Browse files
committed
nits
1 parent b5f56f3 commit 3344574

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Tasks
160160
Roughly speaking, :ref:`tasks <asyncio-task-obj>` are coroutines (not coroutine
161161
functions) tied to an event loop.
162162
A task also maintains a list of callback functions whose importance will become
163-
clear in a moment when we discuss ``await``.
163+
clear in a moment when we discuss :keyword:`await`.
164164
The recommended way to create tasks is via :func:`asyncio.create_task`.
165165
Creating a task automatically adds it to the event loop's queue of tasks.
166166

@@ -277,8 +277,8 @@ If the coroutine is being used for the first time (as opposed to being resumed)
277277
to the caller.
278278
In the example below, the ``yield``, on line 3, is called by
279279
``... = await rock`` on line 11.
280-
Generally, ``await`` calls the :meth:`~object.__await__` method of the given
281-
object.
280+
More broadly speaking, ``await`` calls the :meth:`~object.__await__` method of
281+
the given object.
282282
``await`` also does one more very special thing: it propagates (or "passes
283283
along") any ``yield``\ s it receives up the call-chain.
284284
In this case, that's back to ``... = coroutine.send(None)`` on line 16.

0 commit comments

Comments
 (0)