mirror of https://github.com/python/cpython
Fix typo in description of raw strings: "value" --> "valid"
This closes SF bug #443059.
This commit is contained in:
parent
a3a1668904
commit
0825dc2427
|
@ -403,7 +403,7 @@ backslashes are left in the string}. For example, the string literal
|
|||
`n'. String quotes can be escaped with a backslash, but the backslash
|
||||
remains in the string; for example, \code{r"\e""} is a valid string
|
||||
literal consisting of two characters: a backslash and a double quote;
|
||||
\code{r"\e"} is not a value string literal (even a raw string cannot
|
||||
\code{r"\e"} is not a valid string literal (even a raw string cannot
|
||||
end in an odd number of backslashes). Specifically, \emph{a raw
|
||||
string cannot end in a single backslash} (since the backslash would
|
||||
escape the following quote character). Note also that a single
|
||||
|
|
Loading…
Reference in New Issue