diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:44:47 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:44:47 (GMT) |
commit | 0bbf8c08ab8915e9eb50bbe26aef1f74cc01f605 (patch) | |
tree | 2dd281b4c444e734299a0c5fb62696ddc2ce795c /Doc/whatsnew | |
parent | 989db5c880cbe85e49857cf44daf8b6c9ccbe0b6 (diff) | |
parent | a97cd2eb17e0dc829e02119ea6f04198a419ed20 (diff) | |
download | cpython-0bbf8c08ab8915e9eb50bbe26aef1f74cc01f605.zip cpython-0bbf8c08ab8915e9eb50bbe26aef1f74cc01f605.tar.gz cpython-0bbf8c08ab8915e9eb50bbe26aef1f74cc01f605.tar.bz2 |
Issue #19795: Mark up True and False as literal text instead of bold.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.1.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/3.2.rst | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.1.rst b/Doc/whatsnew/3.1.rst index c1a1687..83e1369 100644 --- a/Doc/whatsnew/3.1.rst +++ b/Doc/whatsnew/3.1.rst @@ -548,5 +548,5 @@ that may require changes to your code: * The automatic name remapping in the pickle module for protocol 2 or lower can make Python 3.1 pickles unreadable in Python 3.0. One solution is to use - protocol 3. Another solution is to set the *fix_imports* option to **False**. + protocol 3. Another solution is to set the *fix_imports* option to *``False``*. See the discussion above for more details. diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 8791f49..b900e77 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1001,13 +1001,13 @@ datetime and time after 1900. The new supported year range is from 1000 to 9999 inclusive. * Whenever a two-digit year is used in a time tuple, the interpretation has been - governed by :attr:`time.accept2dyear`. The default is *True* which means that + governed by :attr:`time.accept2dyear`. The default is ``True`` which means that for a two-digit year, the century is guessed according to the POSIX rules governing the ``%y`` strptime format. Starting with Py3.2, use of the century guessing heuristic will emit a :exc:`DeprecationWarning`. Instead, it is recommended that - :attr:`time.accept2dyear` be set to *False* so that large date ranges + :attr:`time.accept2dyear` be set to ``False`` so that large date ranges can be used without guesswork:: >>> import time, warnings @@ -1043,7 +1043,7 @@ The :mod:`math` module has been updated with six new functions inspired by the C99 standard. The :func:`~math.isfinite` function provides a reliable and fast way to detect -special values. It returns *True* for regular numbers and *False* for *Nan* or +special values. It returns ``True`` for regular numbers and ``False`` for *Nan* or *Infinity*: >>> from math import isfinite @@ -1193,7 +1193,7 @@ exception or silently drop the event depending on the value of The use of filters has been simplified. Instead of creating a :class:`~logging.Filter` object, the predicate can be any Python callable that -returns *True* or *False*. +returns ``True`` or ``False``. There were a number of other improvements that add flexibility and simplify configuration. See the module documentation for a full listing of changes in |