diff options
author | Fred Drake <fdrake@acm.org> | 2000-11-29 06:03:45 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-11-29 06:03:45 (GMT) |
commit | 4a6f1df48c62e2b90cef8ede93019f06acdfb582 (patch) | |
tree | 852832d7310b9d2e901a430999cbe9eecd5cae7d /Doc/tut | |
parent | 657ebef2ae0d6694a22fc58f12ce5105156fd762 (diff) | |
download | cpython-4a6f1df48c62e2b90cef8ede93019f06acdfb582.zip cpython-4a6f1df48c62e2b90cef8ede93019f06acdfb582.tar.gz cpython-4a6f1df48c62e2b90cef8ede93019f06acdfb582.tar.bz2 |
Fix broken backslashes in Unicode strings section.
This closes bug #123730.
Diffstat (limited to 'Doc/tut')
-rw-r--r-- | Doc/tut/tut.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 9deb26a..85fb5c1 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -771,7 +771,7 @@ special characters in the string, you can do so by using the Python u'Hello World !' \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 given position. @@ -784,7 +784,7 @@ simplified. 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 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'. \begin{verbatim} |