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/whatsnew/3.2.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/whatsnew/3.2.rst')
-rw-r--r-- | Doc/whatsnew/3.2.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 3d237ea..8791f49 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``. :: |