[Python-checkins] bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (#8673)

Terry Jan Reedy webhook-mailer at python.org
Mon Aug 6 08:41:27 EDT 2018


https://github.com/python/cpython/commit/28c7f8c8ce34a0cb848822a252a9d0a761fb42d5
commit: 28c7f8c8ce34a0cb848822a252a9d0a761fb42d5
branch: master
author: Terry Jan Reedy <tjreedy at udel.edu>
committer: GitHub <noreply at github.com>
date: 2018-08-06T08:41:17-04:00
summary:

bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (#8673)

* bpo-34273: Change 'Fixed point' to 'Fixed-point notation'.
The change in the mini language floating point and decimal table
is consistent with 'Exponential notation' and clarifies that we
are referring to the output notation, not an object type.

* Update string.rst

* Update string.rst

* Update string.rst

* Update string.rst

files:
M Doc/library/string.rst

diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 89955cfddb38..0fec3df3e3c1 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -464,11 +464,11 @@ The available presentation types for floating point and decimal values are:
    | ``'E'`` | Exponent notation. Same as ``'e'`` except it uses an     |
    |         | upper case 'E' as the separator character.               |
    +---------+----------------------------------------------------------+
-   | ``'f'`` | Fixed point. Displays the number as a fixed-point        |
-   |         | number.  The default precision is ``6``.                 |
+   | ``'f'`` | Fixed-point notation. Displays the number as a           |
+   |         | fixed-point number.  The default precision is ``6``.     |
    +---------+----------------------------------------------------------+
-   | ``'F'`` | Fixed point. Same as ``'f'``, but converts ``nan`` to    |
-   |         | ``NAN`` and ``inf`` to ``INF``.                          |
+   | ``'F'`` | Fixed-point notation. Same as ``'f'``, but converts      |
+   |         | ``nan`` to  ``NAN`` and ``inf`` to ``INF``.              |
    +---------+----------------------------------------------------------+
    | ``'g'`` | General format.  For a given precision ``p >= 1``,       |
    |         | this rounds the number to ``p`` significant digits and   |



More information about the Python-checkins mailing list