From: Benjamin Peterson Date: Sat, 13 Dec 2008 04:02:20 +0000 (+0000) Subject: fix incorrect example X-Git-Tag: v2.7a1~2549 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f35070a6b101d61f45b36679092c26fa4f5532f;p=thirdparty%2FPython%2Fcpython.git fix incorrect example --- diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 96b254ce0d1e..6d0d4224d913 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