summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-04-17 01:48:04 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-04-17 01:48:04 (GMT)
commitf7f981829bd723ba9275e25238acb5472e51f507 (patch)
treefae298a29b32f9d5476cd536878d3ea74696d0f5 /Doc
parentfa873f66c6b645355246f5028e9124c179a83c94 (diff)
downloadcpython-f7f981829bd723ba9275e25238acb5472e51f507.zip
cpython-f7f981829bd723ba9275e25238acb5472e51f507.tar.gz
cpython-f7f981829bd723ba9275e25238acb5472e51f507.tar.bz2
#18628: clarify index entry for source file encoding declaration.
Patch by Sam Lucidi.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/lexical_analysis.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
index 0ed3d3b..6617c3b 100644
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -76,7 +76,7 @@ are ignored by the syntax; they are not tokens.
Encoding declarations
---------------------
-.. index:: source character set, encodings
+.. index:: source character set, encoding declarations (source file)
If a comment in the first or second line of the Python script matches the
regular expression ``coding[=:]\s*([-\w.]+)``, this comment is processed as an