Commit c58e3a44 authored by R David Murray's avatar R David Murray

Merge asyncio doc English phrasing fix.

parents 170af0e2 64f10d4f
......@@ -439,8 +439,8 @@ Coroutines and protocols
------------------------
Coroutines can be scheduled in a protocol method using :func:`async`, but there
is not guarantee on the execution order. Protocols are not aware of coroutines
created in protocol methods and so will not wait for them.
is no guarantee made about the execution order. Protocols are not aware of
coroutines created in protocol methods and so will not wait for them.
To have a reliable execution order, use :ref:`stream objects <asyncio-streams>` in a
coroutine with ``yield from``. For example, the :meth:`StreamWriter.drain`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment