Escape some backslashes.

This commit is contained in:
Eric V. Smith 2015-08-28 11:03:07 -04:00
parent fac2b212af
commit 174ea8308e
1 changed files with 1 additions and 1 deletions

View File

@ -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(). of uses of string.Template, but hundreds of uses of str.format().
Another proposed alternative was to have the substituted text between 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 desirable if all string literals were to support interpolation, this
PEP only supports strings that are already marked with the leading PEP only supports strings that are already marked with the leading
'f'. As such, the PEP is using unadorned braces to denoted substituted 'f'. As such, the PEP is using unadorned braces to denoted substituted