summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-08-06 09:03:44 -0400
committerGitHub <noreply@github.com>2018-08-06 09:03:44 -0400
commit9027502e99cba700cadb675b3b2db03c311d1c4d (patch)
treeb87456e1815c6d5aa292b42e0a165f2ffe2bf942
parent396afbf7711aff2c3d5a34da1724980c5db82724 (diff)
downloadcpython-git-9027502e99cba700cadb675b3b2db03c311d1c4d.tar.gz
[2.7] bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (GH-8673)
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. (cherry picked from commit 28c7f8c8ce34a0cb848822a252a9d0a761fb42d5)
-rw-r--r--Doc/library/string.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 2293b022c2..f8d41f9d67 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -464,10 +464,10 @@ 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'``. |
+ | ``'F'`` | Fixed point notation. Same as ``'f'``. |
+---------+----------------------------------------------------------+
| ``'g'`` | General format. For a given precision ``p >= 1``, |
| | this rounds the number to ``p`` significant digits and |