summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-09-03 11:52:44 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-09-03 11:52:44 (GMT)
commitf62a89b1e09d84fbd60e0356b87430a6ff1e352d (patch)
tree005f3cbd5a4510a448022832dbdb8c0490de8fab /Doc/ref
parent65b7282ef715ef0e9b8f9e8581715d2b4746f960 (diff)
downloadcpython-f62a89b1e09d84fbd60e0356b87430a6ff1e352d.zip
cpython-f62a89b1e09d84fbd60e0356b87430a6ff1e352d.tar.gz
cpython-f62a89b1e09d84fbd60e0356b87430a6ff1e352d.tar.bz2
Ignore encoding declarations inside strings. Fixes #603509.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref2.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex
index 3319949..4947650 100644
--- a/Doc/ref/ref2.tex
+++ b/Doc/ref/ref2.tex
@@ -101,7 +101,7 @@ The encoding is used for all lexical analysis, in particular to find
the end of a string, and to interpret the contents of Unicode literals.
String literals are converted to Unicode for syntactical analysis,
then converted back to their original encoding before interpretation
-starts.
+starts. The encoding declaration must appear on a line of its own.
\subsection{Explicit line joining\label{explicit-joining}}