summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2010-04-06 14:57:57 (GMT)
committerEric Smith <eric@trueblade.com>2010-04-06 14:57:57 (GMT)
commit2b1a11655183f90e735d8d76eb136475f2aadf4d (patch)
treee1b2e9b6d8ace2e2634ccc4e654f7f18d038c0e4 /Doc/whatsnew
parent154811d3f6efb637d8db4ee1b2ce567144ed5979 (diff)
downloadcpython-2b1a11655183f90e735d8d76eb136475f2aadf4d.zip
cpython-2b1a11655183f90e735d8d76eb136475f2aadf4d.tar.gz
cpython-2b1a11655183f90e735d8d76eb136475f2aadf4d.tar.bz2
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. ........
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.7.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index 205d232..fa04190 100644
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -207,7 +207,7 @@ mini-language used by the string :meth:`format` method. When
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