Kaydet (Commit) 4a6f1df4 authored tarafından Fred Drake's avatar Fred Drake

Fix broken backslashes in Unicode strings section.

This closes bug #123730.
üst 657ebef2
...@@ -771,7 +771,7 @@ special characters in the string, you can do so by using the Python ...@@ -771,7 +771,7 @@ special characters in the string, you can do so by using the Python
u'Hello World !' u'Hello World !'
\end{verbatim} \end{verbatim}
The escape sequence \code{\\u0020} indicates to insert the Unicode The escape sequence \code{\e u0020} indicates to insert the Unicode
character with the HEX ordinal 0x0020 (the space character) at the character with the HEX ordinal 0x0020 (the space character) at the
given position. given position.
...@@ -784,7 +784,7 @@ simplified. ...@@ -784,7 +784,7 @@ simplified.
For experts, there is also a raw mode just like for normal For experts, there is also a raw mode just like for normal
strings. You have to prepend the string with a small 'r' to have strings. You have to prepend the string with a small 'r' to have
Python use the \emph{Raw-Unicode-Escape} encoding. It will only apply Python use the \emph{Raw-Unicode-Escape} encoding. It will only apply
the above \code{\\uXXXX} conversion if there is an uneven number of the above \code{\e uXXXX} conversion if there is an uneven number of
backslashes in front of the small 'u'. backslashes in front of the small 'u'.
\begin{verbatim} \begin{verbatim}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment