summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:39:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:39:36 (GMT)
commitc2e9983060a02a677cfc4fa84e05446d7af9e014 (patch)
treebc086e84811af499dfe91d15fe8b87fafa0e86a2 /Doc/library/socket.rst
parent18207ea32becb391e8a78b680c5b7e76d56e3ebd (diff)
parent989db5c880cbe85e49857cf44daf8b6c9ccbe0b6 (diff)
downloadcpython-c2e9983060a02a677cfc4fa84e05446d7af9e014.zip
cpython-c2e9983060a02a677cfc4fa84e05446d7af9e014.tar.gz
cpython-c2e9983060a02a677cfc4fa84e05446d7af9e014.tar.bz2
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index d33bbc3..9cea90d 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -1400,10 +1400,10 @@ to sockets.
Set the value of the given socket option (see the Unix manual page
:manpage:`setsockopt(2)`). The needed symbolic constants are defined in the
:mod:`socket` module (:const:`SO_\*` etc.). The value can be an integer,
- None or a :term:`bytes-like object` representing a buffer. In the later
+ ``None`` or a :term:`bytes-like object` representing a buffer. In the later
case it is up to the caller to ensure that the bytestring contains the
proper bits (see the optional built-in module :mod:`struct` for a way to
- encode C structures as bytestrings). When value is set to None,
+ encode C structures as bytestrings). When value is set to ``None``,
optlen argument is required. It's equivalent to call setsockopt C
function with optval=NULL and optlen=optlen.