]> granicus.if.org Git - python/commitdiff
Fix up some more markup problems.
authorFred Drake <fdrake@acm.org>
Wed, 7 Aug 2002 13:24:09 +0000 (13:24 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 7 Aug 2002 13:24:09 +0000 (13:24 +0000)
Doc/ref/ref2.tex

index e761c8d5ecc6865d634996d6a675e9c6ed074890..54706f33d804b245a8a47cc64290c018dbbecbca 100644 (file)
@@ -457,14 +457,15 @@ escape the following quote character).  Note also that a single
 backslash followed by a newline is interpreted as those two characters
 as part of the string, \emph{not} as a line continuation.
 
-When an `r' or `R' prefix is used in conjunction with a `u' or `U'
-prefix, then the \uXXXX escape sequence is processed while \emph{all other
-backslashes are left in the string}.  For example, the string literal
-\code{ur"\u0062\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
-remain in the string.  As a result, \uXXXX escape sequences are
-only recognized when there are an odd number of backslashes.
+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 \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 remain in the
+string.  As a result, \code{\e uXXXX} escape sequences are only
+recognized when there are an odd number of backslashes.
 
 \subsection{String literal concatenation\label{string-catenation}}