From: R David Murray Date: Thu, 17 Apr 2014 01:57:38 +0000 (-0400) Subject: #18628: clarify index entry for source file encoding declaration. X-Git-Tag: v2.7.7rc1~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd967efae997b0cc2a616310835d3c4ca3682fc9;p=python #18628: clarify index entry for source file encoding declaration. --- diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 2f31c853f5..52a09a895c 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -104,9 +104,7 @@ are ignored by the syntax; they are not tokens. Encoding declarations --------------------- -.. index:: - single: source character set - single: 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