From 9f35070a6b101d61f45b36679092c26fa4f5532f Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 13 Dec 2008 04:02:20 +0000 Subject: fix incorrect example --- Doc/whatsnew/2.6.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12