File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,14 +126,7 @@ The Interpreter and Its Environment
126126Source Code Encoding
127127--------------------
128128
129- By default, Python source files are treated as encoded in UTF-8. In that
130- encoding, characters of most languages in the world can be used simultaneously
131- in string literals, identifiers and comments --- although the standard library
132- only uses ASCII characters for identifiers, a convention that any portable code
133- should follow. To display all these characters properly, your editor must
134- recognize that the file is UTF-8, and it must use a font that supports all the
135- characters in the file.
136-
129+ By default, Python source files are treated as encoded in ASCII.
137130To declare an encoding other than the default one, a special comment line
138131should be added as the *first * line of the file. The syntax is as follows::
139132
You can’t perform that action at this time.
0 commit comments