From 174ea8308e3db3835f833b8dbcfebfdfc79bc111 Mon Sep 17 00:00:00 2001 From: "Eric V. Smith" Date: Fri, 28 Aug 2015 11:03:07 -0400 Subject: [PATCH] Escape some backslashes. --- pep-0498.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0498.txt b/pep-0498.txt index 85b028f80..d5ce55ce9 100644 --- a/pep-0498.txt +++ b/pep-0498.txt @@ -403,7 +403,7 @@ used. A quick search of Python's standard library shows only a handful of uses of string.Template, but hundreds of uses of str.format(). Another proposed alternative was to have the substituted text between -\{ and } or between \{ and \}. While this syntax would probably be +\\{ and } or between \\{ and \\}. While this syntax would probably be desirable if all string literals were to support interpolation, this PEP only supports strings that are already marked with the leading 'f'. As such, the PEP is using unadorned braces to denoted substituted