diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-12-13 04:02:20 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-12-13 04:02:20 (GMT) |
commit | 9f35070a6b101d61f45b36679092c26fa4f5532f (patch) | |
tree | 21f1f2392c451e9044f4d8d024f85233d9511b5c /Doc | |
parent | 3b02742f7df5831eae5e23b80d2b19b4ee42f75b (diff) | |
download | cpython-9f35070a6b101d61f45b36679092c26fa4f5532f.zip cpython-9f35070a6b101d61f45b36679092c26fa4f5532f.tar.gz cpython-9f35070a6b101d61f45b36679092c26fa4f5532f.tar.bz2 |
fix incorrect example
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/2.6.rst | 2 |
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 |