projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa873f6
)
#18628: clarify index entry for source file encoding declaration.
author
R David Murray
<rdmurray@bitdance.com>
Thu, 17 Apr 2014 01:48:04 +0000
(21:48 -0400)
committer
R David Murray
<rdmurray@bitdance.com>
Thu, 17 Apr 2014 01:48:04 +0000
(21:48 -0400)
Patch by Sam Lucidi.
Doc/reference/lexical_analysis.rst
patch
|
blob
|
history
diff --git
a/Doc/reference/lexical_analysis.rst
b/Doc/reference/lexical_analysis.rst
index 0ed3d3b9a70045267bac98a88f6a2963a1d7e951..6617c3b45519dba0a88e64c5d48cd7109fe8050f 100644
(file)
--- 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, encoding
s
+.. 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