[Python-checkins] cpython (2.7): #18628: clarify index entry for source file encoding declaration.

r.david.murray python-checkins at python.org
Thu Apr 17 03:58:24 CEST 2014


http://hg.python.org/cpython/rev/2a793df32be5
changeset: 90373:2a793df32be5
branch: 2.7
parent: 90354:72b1715e18c1
user: R David Murray <rdmurray at bitdance.com>
date: Wed Apr 16 21:57:38 2014 -0400
summary:
 #18628: clarify index entry for source file encoding declaration.
files:
 Doc/reference/lexical_analysis.rst | 4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -104,9 +104,7 @@
 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
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /