Merge asyncio doc English phrasing fix.

This commit is contained in:
R David Murray 2014-11-02 12:33:37 -05:00
commit c58e3a449b
1 changed files with 2 additions and 2 deletions

View File

@ -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`