From e6b14c026fd9045a0d460b62dbcb512fca4c64ec Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 13 Sep 2019 10:28:46 -0700 Subject: [PATCH] bpo-32790: Add info about alt format using GH- for 'g' in chart (GH-6624) (cherry picked from commit d44542f9a231bf725ecd82eb640a672c759a8227) Co-authored-by: bchhabra2490 --- Doc/library/string.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/string.rst b/Doc/library/string.rst index af52af0482..e2983db1ac 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -508,7 +508,8 @@ The available presentation types for floating point and decimal values are: | | with presentation type ``'e'`` and precision ``p-1``. | | | In both cases insignificant trailing zeros are removed | | | from the significand, and the decimal point is also | - | | removed if there are no remaining digits following it. | + | | removed if there are no remaining digits following it, | + | | unless the ``'#'`` option is used. | | | | | | Positive and negative infinity, positive and negative | | | zero, and nans, are formatted as ``inf``, ``-inf``, | -- 2.50.1