From: Eric Smith Date: Tue, 5 May 2009 16:42:58 +0000 (+0000) Subject: Documentation for Issue #5920. X-Git-Tag: v3.1b1~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25e218e381195b3682985ce30f197d933e076058;p=python Documentation for Issue #5920. --- diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 52bd8f19e9..0eb1b57ba6 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -434,7 +434,10 @@ The available presentation types for floating point and decimal values are: | ``'%'`` | Percentage. Multiplies the number by 100 and displays | | | in fixed (``'f'``) format, followed by a percent sign. | +---------+----------------------------------------------------------+ - | None | The same as ``'g'``. | + | None | Similar to ``'g'``, except with at least one decimal | + | | point and a default precision of 12. This is intended to | + | | match :func:`str`, except you can add the other | + | | format modifiers. | +---------+----------------------------------------------------------+