]> granicus.if.org Git - python/commitdiff
#18628: clarify index entry for source file encoding declaration.
authorR David Murray <rdmurray@bitdance.com>
Thu, 17 Apr 2014 01:57:38 +0000 (21:57 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 17 Apr 2014 01:57:38 +0000 (21:57 -0400)
Doc/reference/lexical_analysis.rst

index 2f31c853f50ca5ef902ac947377721aae1b18a1f..52a09a895c662248113a616b99c075d93eafa8d3 100644 (file)
@@ -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