diff options
author | Eric Smith <eric@trueblade.com> | 2009-05-05 16:42:58 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2009-05-05 16:42:58 (GMT) |
commit | 25e218e381195b3682985ce30f197d933e076058 (patch) | |
tree | 21bc43ebafe7086778a25d850c6dfa74243cf544 /Doc | |
parent | 8482ef97228b5349240d96171ff18a3bb1b43b2f (diff) | |
download | cpython-25e218e381195b3682985ce30f197d933e076058.zip cpython-25e218e381195b3682985ce30f197d933e076058.tar.gz cpython-25e218e381195b3682985ce30f197d933e076058.tar.bz2 |
Documentation for Issue #5920.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/string.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 52bd8f1..0eb1b57 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. | +---------+----------------------------------------------------------+ |