From: Fred Drake Date: Fri, 20 Jul 2001 14:32:28 +0000 (+0000) Subject: Fix typo in description of raw strings: "value" --> "valid" X-Git-Tag: v2.2a3~1024 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0825dc2427ce0666a392477b83badf51ff56acd2;p=thirdparty%2FPython%2Fcpython.git Fix typo in description of raw strings: "value" --> "valid" This closes SF bug #443059. --- diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 8a44b03c3d0e..e9122421c143 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