summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/string.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index d104931..959ea99 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -415,7 +415,8 @@ The available presentation types for floating point and decimal values are:
| ``'f'`` | Fixed point. Displays the number as a fixed-point |
| | number. |
+---------+----------------------------------------------------------+
- | ``'F'`` | Fixed point. Same as ``'f'``. |
+ | ``'F'`` | Fixed point. Same as ``'f'``, but converts ``nan`` to |
+ | | ``NAN`` and ``inf`` to ``INF``. |
+---------+----------------------------------------------------------+
| ``'g'`` | General format. This prints the number as a fixed-point |
| | number, unless the number is too large, in which case |