From 50541d16481c771af1c70c6eb8137fa4657dcdae Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 22 Nov 2005 19:24:23 +0000 Subject: Bug #1359035: Doc: Uxxxxxxxx escapes are interpreted in raw unicode literals. --- Doc/ref/ref2.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 950a732..af79e4d 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 -- cgit v0.12