[Python-checkins] (no subject)

Stéphane Wirtel webhook-mailer at python.org
Fri Sep 13 13:20:25 EDT 2019


To: python-checkins at python.org
Subject:
 bpo-32790: Add info about alt format using # for 'g' in chart (GH-6624)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
https://github.com/python/cpython/commit/d44542f9a231bf725ecd82eb640a672c759a=
8227
commit: d44542f9a231bf725ecd82eb640a672c759a8227
branch: master
author: bchhabra2490 <bchhabra2490 at gmail.com>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019年09月13日T18:20:21+01:00
summary:
bpo-32790: Add info about alt format using # for 'g' in chart (GH-6624)
files:
M Doc/library/string.rst
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index af52af0482c4..e2983db1ac83 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -508,7 +508,8 @@ The available presentation types for floating point and d=
ecimal 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 によって変換されたページ (->オリジナル) /