diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-13 09:58:03 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-13 09:58:03 (GMT) |
commit | 2fb3b8270604caa459011c607c7af0c68b2adf28 (patch) | |
tree | d42c13bded84b6c92434968973ccad5139fae670 /Doc/library/asyncio-protocol.rst | |
parent | 39930c9ca0e8ad2e1465e7a31b4a400d6f34ccff (diff) | |
download | cpython-2fb3b8270604caa459011c607c7af0c68b2adf28.zip cpython-2fb3b8270604caa459011c607c7af0c68b2adf28.tar.gz cpython-2fb3b8270604caa459011c607c7af0c68b2adf28.tar.bz2 |
asyncio doc: functions are coroutine, they don't return a coroutine
It's not exact, but easier to understand.
Diffstat (limited to 'Doc/library/asyncio-protocol.rst')
-rw-r--r-- | Doc/library/asyncio-protocol.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst index cbbc151..80c974a 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -497,6 +497,6 @@ TCP echo server example, send back received data and close the connection:: :meth:`Transport.close` can be called immediately after :meth:`WriteTransport.write` even if data are not sent yet on the socket: both methods are asynchronous. ``yield from`` is not needed because these transport -methods don't return coroutines. +methods are not coroutines. |