diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:37:13 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:37:13 (GMT) |
commit | 989db5c880cbe85e49857cf44daf8b6c9ccbe0b6 (patch) | |
tree | 2e6fb67dca920efd5e8bdae70706badcc3472e43 /Doc/library/asyncio-protocol.rst | |
parent | 24c3b4928eb3046a02b55ab4317cee28aa1c56ba (diff) | |
parent | ecf41da83e5db98734b19f205899168cc56da943 (diff) | |
download | cpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.zip cpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.tar.gz cpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.tar.bz2 |
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/asyncio-protocol.rst')
-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 a38d1e0..0deecd9 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -372,10 +372,10 @@ The following callbacks are called on :class:`Protocol` instances: (for example by calling :meth:`write_eof`, if the other end also uses asyncio). - This method may return a false value (including None), in which case + This method may return a false value (including ``None``), in which case the transport will close itself. Conversely, if this method returns a true value, closing the transport is up to the protocol. Since the - default implementation returns None, it implicitly closes the connection. + default implementation returns ``None``, it implicitly closes the connection. .. note:: Some transports such as SSL don't support half-closed connections, |