diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2018-08-06 12:41:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-06 12:41:17 (GMT) |
commit | 28c7f8c8ce34a0cb848822a252a9d0a761fb42d5 (patch) | |
tree | c93f7e577a3b53f578e5b1db22a0ce0266b070af /Doc/library/string.rst | |
parent | b2499669ef2e6dc9a2cdb49b4dc498e078167e26 (diff) | |
download | cpython-28c7f8c8ce34a0cb848822a252a9d0a761fb42d5.zip cpython-28c7f8c8ce34a0cb848822a252a9d0a761fb42d5.tar.gz cpython-28c7f8c8ce34a0cb848822a252a9d0a761fb42d5.tar.bz2 |
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
Diffstat (limited to 'Doc/library/string.rst')
-rw-r--r-- | Doc/library/string.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 89955cf..0fec3df 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 | |