[Python-checkins] bpo-32790: Add info about alt format using GH- for 'g' in chart (GH-6624)

Miss Islington (bot) webhook-mailer at python.org
Fri Sep 13 13:26:54 EDT 2019


https://github.com/python/cpython/commit/77878cadc58aaca234482dffbb5fe89c74c026fa
commit: 77878cadc58aaca234482dffbb5fe89c74c026fa
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019年09月13日T10:26:51-07:00
summary:
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 at gmail.com>
files:
M Doc/library/string.rst
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 46b2bfc82b73..bbbfed273ee4 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``, |


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /