summaryrefslogtreecommitdiff
path: root/Doc/library/string.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-13 10:26:51 -0700
committerGitHub <noreply@github.com>2019-09-13 10:26:51 -0700
commit77878cadc58aaca234482dffbb5fe89c74c026fa (patch)
tree80027cc729dfba76b4b3ac034f7aaf837f5db0f0 /Doc/library/string.rst
parent0a5a1a1eb29bafcec696fb3132cbf6ab2991cb76 (diff)
downloadcpython-git-77878cadc58aaca234482dffbb5fe89c74c026fa.tar.gz
bpo-32790: Add info about alt format using GH- for 'g' in chart (GH-6624)
(cherry picked from commit d44542f9a231bf725ecd82eb640a672c759a8227) Co-authored-by: bchhabra2490 <bchhabra2490@gmail.com>
Diffstat (limited to 'Doc/library/string.rst')
-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 46b2bfc82b..bbbfed273e 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``, |