Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a6f1df

Browse files
committed
Fix broken backslashes in Unicode strings section.
This closes bug #123730.
1 parent 657ebef commit 4a6f1df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/tut/tut.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ \subsection{Unicode Strings \label{unicodeStrings}}
771771
u'Hello World !'
772772
\end{verbatim}
773773

774-
The escape sequence \code{\\u0020} indicates to insert the Unicode
774+
The escape sequence \code{\e u0020} indicates to insert the Unicode
775775
character with the HEX ordinal 0x0020 (the space character) at the
776776
given position.
777777

@@ -784,7 +784,7 @@ \subsection{Unicode Strings \label{unicodeStrings}}
784784
For experts, there is also a raw mode just like for normal
785785
strings. You have to prepend the string with a small 'r' to have
786786
Python use the \emph{Raw-Unicode-Escape} encoding. It will only apply
787-
the above \code{\\uXXXX} conversion if there is an uneven number of
787+
the above \code{\e uXXXX} conversion if there is an uneven number of
788788
backslashes in front of the small 'u'.
789789

790790
\begin{verbatim}

0 commit comments

Comments
 (0)