summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:37:13 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:37:13 (GMT)
commit989db5c880cbe85e49857cf44daf8b6c9ccbe0b6 (patch)
tree2e6fb67dca920efd5e8bdae70706badcc3472e43 /Doc/howto
parent24c3b4928eb3046a02b55ab4317cee28aa1c56ba (diff)
parentecf41da83e5db98734b19f205899168cc56da943 (diff)
downloadcpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.zip
cpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.tar.gz
cpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.tar.bz2
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/descriptor.rst2
-rw-r--r--Doc/howto/logging.rst2
-rw-r--r--Doc/howto/sorting.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst
index d370eb5..c2bf473 100644
--- a/Doc/howto/descriptor.rst
+++ b/Doc/howto/descriptor.rst
@@ -302,7 +302,7 @@ The output suggests that bound and unbound methods are two different types.
While they could have been implemented that way, the actual C implementation of
:c:type:`PyMethod_Type` in :source:`Objects/classobject.c` is a single object
with two different representations depending on whether the :attr:`im_self`
-field is set or is *NULL* (the C equivalent of *None*).
+field is set or is *NULL* (the C equivalent of ``None``).
Likewise, the effects of calling a method object depend on the :attr:`im_self`
field. If set (meaning bound), the original function (stored in the
diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
index 82d1308..f72f09f 100644
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -764,7 +764,7 @@ In Python 3.2 and later, the behaviour is as follows:
The handler's level is set to ``WARNING``, so all events at this and
greater severities will be output.
-To obtain the pre-3.2 behaviour, ``logging.lastResort`` can be set to *None*.
+To obtain the pre-3.2 behaviour, ``logging.lastResort`` can be set to ``None``.
.. _library-config:
diff --git a/Doc/howto/sorting.rst b/Doc/howto/sorting.rst
index b90b61b..1280446 100644
--- a/Doc/howto/sorting.rst
+++ b/Doc/howto/sorting.rst
@@ -24,7 +24,7 @@ returns a new sorted list::
[1, 2, 3, 4, 5]
You can also use the :meth:`list.sort` method. It modifies the list
-in-place (and returns *None* to avoid confusion). Usually it's less convenient
+in-place (and returns ``None`` to avoid confusion). Usually it's less convenient
than :func:`sorted` - but if you don't need the original list, it's slightly
more efficient.