]> granicus.if.org Git - python/commitdiff
Bug #1359053: Doc: \Uxxxxxxxx escapes _are_ interpreted in raw unicode strings
authorGeorg Brandl <georg@python.org>
Tue, 22 Nov 2005 19:23:58 +0000 (19:23 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 22 Nov 2005 19:23:58 +0000 (19:23 +0000)
Doc/ref/ref2.tex

index 950a7324b9568f67d78bc5f9af37ef3dc10ce36f..af79e4d7b0f38e11151fab5260347b396d6cba43 100644 (file)
@@ -514,8 +514,9 @@ as part of the string, \emph{not} as a line continuation.
 
 When an \character{r} or \character{R} prefix is used in conjunction
 with a \character{u} or \character{U} prefix, then the \code{\e uXXXX}
-escape sequence is processed while \emph{all other backslashes are
-left in the string}.  For example, the string literal
+and \code{\e UXXXXXXXX} escape sequences are processed while 
+\emph{all other backslashes are left in the string}.
+For example, the string literal
 \code{ur"\e{}u0062\e n"} consists of three Unicode characters: `LATIN
 SMALL LETTER B', `REVERSE SOLIDUS', and `LATIN SMALL LETTER N'.
 Backslashes can be escaped with a preceding backslash; however, both