Skip to content

Commit 28c7f8c

Browse files
authored
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
1 parent b249966 commit 28c7f8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/string.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,11 @@ The available presentation types for floating point and decimal values are:
464464
| ``'E'`` | Exponent notation. Same as ``'e'`` except it uses an |
465465
| | upper case 'E' as the separator character. |
466466
+---------+----------------------------------------------------------+
467-
| ``'f'`` | Fixed point. Displays the number as a fixed-point |
468-
| | number. The default precision is ``6``. |
467+
| ``'f'`` | Fixed-point notation. Displays the number as a |
468+
| | fixed-point number. The default precision is ``6``. |
469469
+---------+----------------------------------------------------------+
470-
| ``'F'`` | Fixed point. Same as ``'f'``, but converts ``nan`` to |
471-
| | ``NAN`` and ``inf`` to ``INF``. |
470+
| ``'F'`` | Fixed-point notation. Same as ``'f'``, but converts |
471+
| | ``nan`` to ``NAN`` and ``inf`` to ``INF``. |
472472
+---------+----------------------------------------------------------+
473473
| ``'g'`` | General format. For a given precision ``p >= 1``, |
474474
| | this rounds the number to ``p`` significant digits and |

0 commit comments

Comments
 (0)