summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-12-13 04:02:20 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-12-13 04:02:20 (GMT)
commit9f35070a6b101d61f45b36679092c26fa4f5532f (patch)
tree21f1f2392c451e9044f4d8d024f85233d9511b5c /Doc
parent3b02742f7df5831eae5e23b80d2b19b4ee42f75b (diff)
downloadcpython-9f35070a6b101d61f45b36679092c26fa4f5532f.zip
cpython-9f35070a6b101d61f45b36679092c26fa4f5532f.tar.gz
cpython-9f35070a6b101d61f45b36679092c26fa4f5532f.tar.bz2
fix incorrect example
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/2.6.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 96b254c..6d0d422 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -734,7 +734,7 @@ The formatting template uses curly brackets (`{`, `}`) as special characters::
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