Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c10f681b
Commit
c10f681b
authored
Nov 29, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken backslashes in Unicode strings section.
This closes bug #123730.
parent
6bc6dbe6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/tut/tut.tex
Doc/tut/tut.tex
+2
-2
No files found.
Doc/tut/tut.tex
View file @
c10f681b
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment