mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
#18628: clarify index entry for source file encoding declaration.
Patch by Sam Lucidi.
This commit is contained in:
parent
fa873f66c6
commit
f7f981829b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue