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

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


http://hg.python.org/cpython/rev/0413e0b1f76d
changeset:   90371:0413e0b1f76d
branch:      3.4
parent:      90367:30a7e37b8441
user:        R David Murray <rdmurray at bitdance.com>
date:        Wed Apr 16 21:48:04 2014 -0400
summary:
  #18628: clarify index entry for source file encoding declaration.

Patch by Sam Lucidi.

files:
  Doc/reference/lexical_analysis.rst |  2 +-
  1 files changed, 1 insertions(+), 1 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
@@ -76,7 +76,7 @@
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list