From: Georg Brandl Date: Tue, 22 Nov 2005 19:24:23 +0000 (+0000) Subject: Bug #1359035: Doc: Uxxxxxxxx escapes are interpreted in raw unicode literals. X-Git-Tag: v2.4.3c1~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50541d16481c771af1c70c6eb8137fa4657dcdae;p=thirdparty%2FPython%2Fcpython.git Bug #1359035: Doc: Uxxxxxxxx escapes are interpreted in raw unicode literals. --- diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 950a7324b956..af79e4d7b0f3 100644 --- a/Doc/ref/ref2.tex +++ b/Doc/ref/ref2.tex @@ -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