[Python-checkins] r67725 - python/trunk/Doc/whatsnew/2.6.rst
benjamin.peterson
python-checkins at python.org
Sat Dec 13 05:02:20 CET 2008
Author: benjamin.peterson
Date: Sat Dec 13 05:02:20 2008
New Revision: 67725
Log:
fix incorrect example
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 Sat Dec 13 05:02:20 2008
@@ -734,7 +734,7 @@
Curly brackets can be escaped by doubling them::
- >>> format("Empty dict: {{}}")
+ >>> "Empty dict: {{}}".format()
"Empty dict: {}"
Field names can be integers indicating positional arguments, such as
More information about the Python-checkins
mailing list