mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Merge: #18628: clarify index entry for source file encoding declaration.
This commit is contained in:
commit
16b8c619cd
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ are ignored by the syntax; they are not tokens.
|
||||||
Encoding declarations
|
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
|
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
|
regular expression ``coding[=:]\s*([-\w.]+)``, this comment is processed as an
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue