diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-20 14:32:28 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-20 14:32:28 (GMT) |
commit | 0825dc2427ce0666a392477b83badf51ff56acd2 (patch) | |
tree | 6cb9f80eaca107a2705c4cba9dc43a74bff419e2 /Doc/ref | |
parent | a3a16689045e3d97b4f03de534b1680b9c28b855 (diff) | |
download | cpython-0825dc2427ce0666a392477b83badf51ff56acd2.zip cpython-0825dc2427ce0666a392477b83badf51ff56acd2.tar.gz cpython-0825dc2427ce0666a392477b83badf51ff56acd2.tar.bz2 |
Fix typo in description of raw strings: "value" --> "valid"
This closes SF bug #443059.
Diffstat (limited to 'Doc/ref')
-rw-r--r-- | Doc/ref/ref2.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 8a44b03..e912242 100644 --- a/Doc/ref/ref2.tex +++ b/Doc/ref/ref2.tex @@ -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 |