diff options
author | Eric Smith <eric@trueblade.com> | 2008-05-12 14:00:01 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2008-05-12 14:00:01 (GMT) |
commit | 103f19d286d7b0a80bd83031d8fd1c0af31dfd9e (patch) | |
tree | 4fc5c30ae0bbfc5065c374807e4bb26df7ac4f0e /Doc | |
parent | 9dd6b1db5be0293e9d359f7e75614c74b1e5e884 (diff) | |
download | cpython-103f19d286d7b0a80bd83031d8fd1c0af31dfd9e.zip cpython-103f19d286d7b0a80bd83031d8fd1c0af31dfd9e.tar.gz cpython-103f19d286d7b0a80bd83031d8fd1c0af31dfd9e.tar.bz2 |
Added 'n' presentation type for integers.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/2.6.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 6554b43..e274020 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -627,9 +627,9 @@ docs), but here's a sample:: 'g' - General format. This prints the number as a fixed-point number, unless the number is too large, in which case it switches to 'e' exponent notation. - 'n' - Number. This is the same as 'g', except that it uses the - current locale setting to insert the appropriate - number separator characters. + 'n' - Number. This is the same as 'g' (for floats) or 'd' (for + integers), except that it uses the current locale setting to + insert the appropriate number separator characters. '%' - Percentage. Multiplies the number by 100 and displays in fixed ('f') format, followed by a percent sign. |