summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.2.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/whatsnew/3.2.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/whatsnew/3.2.rst')
-rw-r--r--Doc/whatsnew/3.2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 9f3584d..2774b44 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -1439,7 +1439,7 @@ which is now deprecated. If specified, the optional *filter* parameter needs to
be a :term:`keyword argument`. The user-supplied filter function accepts a
:class:`~tarfile.TarInfo` object and returns an updated
:class:`~tarfile.TarInfo` object, or if it wants the file to be excluded, the
-function can return *None*::
+function can return ``None``::
>>> import tarfile, glob
@@ -1488,7 +1488,7 @@ evaluating expression strings using the Python literal
syntax. The :func:`ast.literal_eval` function serves as a secure alternative to
the builtin :func:`eval` function which is easily abused. Python 3.2 adds
:class:`bytes` and :class:`set` literals to the list of supported types:
-strings, bytes, numbers, tuples, lists, dicts, sets, booleans, and None.
+strings, bytes, numbers, tuples, lists, dicts, sets, booleans, and ``None``.
::