summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-08-06 12:49:34 (GMT)
committerGitHub <noreply@github.com>2018-08-06 12:49:34 (GMT)
commited8dd598ae7e0d944974af0fd73c2fbb6105fd5c (patch)
tree02fc586a34cd244b0277181bc465c6d04ac8d815
parente20d31cdb33bdfee68bce059f9a9c7ce71b035fe (diff)
downloadcpython-ed8dd598ae7e0d944974af0fd73c2fbb6105fd5c.zip
cpython-ed8dd598ae7e0d944974af0fd73c2fbb6105fd5c.tar.gz
cpython-ed8dd598ae7e0d944974af0fd73c2fbb6105fd5c.tar.bz2
bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (GH-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 (cherry picked from commit 28c7f8c8ce34a0cb848822a252a9d0a761fb42d5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
-rw-r--r--Doc/library/string.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index f4c4b8c..a87d285 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 |