Escape some backslashes.
This commit is contained in:
parent
fac2b212af
commit
174ea8308e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue