summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-protocol.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:29:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:29:26 (GMT)
commitecf41da83e5db98734b19f205899168cc56da943 (patch)
treee22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/asyncio-protocol.rst
parent9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff)
downloadcpython-ecf41da83e5db98734b19f205899168cc56da943.zip
cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.gz
cpython-ecf41da83e5db98734b19f205899168cc56da943.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.rst4
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,