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
6a0abe39
Commit
6a0abe39
authored
Aug 07, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up some more markup problems.
parent
25f42e69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
Doc/ref/ref2.tex
Doc/ref/ref2.tex
+9
-8
No files found.
Doc/ref/ref2.tex
View file @
6a0abe39
...
...
@@ -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"
\u
0062
\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
}}
...
...
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