[Python-checkins] r79831 - in python/branches/py3k: Doc/whatsnew/2.7.rst

eric.smith python-checkins at python.org
Tue Apr 6 16:57:57 CEST 2010


Author: eric.smith
Date: Tue Apr  6 16:57:57 2010
New Revision: 79831

Log:
Merged revisions 79826 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79826 | eric.smith | 2010-04-06 10:30:15 -0400 (Tue, 06 Apr 2010) | 1 line
  
  Fixed PEP 378 example.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Doc/whatsnew/2.7.rst

Modified: python/branches/py3k/Doc/whatsnew/2.7.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/2.7.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/2.7.rst	Tue Apr  6 16:57:57 2010
@@ -207,7 +207,7 @@
 formatting a floating-point number, simply include a comma between the
 width and the precision::
 
-   >>> '{:20,.2}'.format(f)
+   >>> '{:20,.2f}'.format(18446744073709551616.0)
    '18,446,744,073,709,551,616.00'
 
 This mechanism is not adaptable at all; commas are always used as the


More information about the Python-checkins mailing list