diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-11-02 17:32:26 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-11-02 17:32:26 (GMT) |
commit | 64f10d4f5e01ab119baa4d0a10403cec444810ce (patch) | |
tree | 477d68d09597d344a4ccd857021a7be34645a980 /Doc/library | |
parent | 3ca68e77b85329da2012cca57e4b52b4ea349ad2 (diff) | |
download | cpython-64f10d4f5e01ab119baa4d0a10403cec444810ce.zip cpython-64f10d4f5e01ab119baa4d0a10403cec444810ce.tar.gz cpython-64f10d4f5e01ab119baa4d0a10403cec444810ce.tar.bz2 |
Reflow paragraph.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/asyncio-protocol.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst index d72dfff..60776d1 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -439,8 +439,8 @@ Coroutines and protocols ------------------------ Coroutines can be scheduled in a protocol method using :func:`async`, but there -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. +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` |