[Python-checkins] r63162 - python/trunk/Doc/whatsnew/2.6.rst
eric.smith
python-checkins at python.org
Mon May 12 16:00:01 CEST 2008
Author: eric.smith
Date: Mon May 12 16:00:01 2008
New Revision: 63162
Log:
Added 'n' presentation type for integers.
Modified:
python/trunk/Doc/whatsnew/2.6.rst
Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst (original)
+++ python/trunk/Doc/whatsnew/2.6.rst Mon May 12 16:00:01 2008
@@ -627,9 +627,9 @@
'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.
More information about the Python-checkins
mailing list