From: R David Murray Date: Thu, 17 Apr 2014 01:48:04 +0000 (-0400) Subject: #18628: clarify index entry for source file encoding declaration. X-Git-Tag: v3.4.1rc1~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7f981829bd723ba9275e25238acb5472e51f507;p=thirdparty%2FPython%2Fcpython.git #18628: clarify index entry for source file encoding declaration. Patch by Sam Lucidi. --- diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 0ed3d3b9a700..6617c3b45519 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