mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix typo in description of raw strings: "value" --> "valid"
This closes SF bug #443059.
This commit is contained in:
parent
a3a1668904
commit
0825dc2427
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue