@@ -148,14 +148,14 @@ where *encoding* is one of the valid :mod:`codecs` supported by Python.
|
148 | 148 | For example, to declare that Windows-1252 encoding is to be used, the first |
149 | 149 | line of your source code file should be:: |
150 | 150 | |
151 | | - # -*- coding: cp-1252 -*- |
| 151 | + # -*- coding: cp1252 -*- |
152 | 152 | |
153 | 153 | One exception to the *first line* rule is when the source code starts with a |
154 | 154 | :ref:`UNIX "shebang" line <tut-scripts>`. In this case, the encoding |
155 | 155 | declaration should be added as the second line of the file. For example:: |
156 | 156 | |
157 | 157 | #!/usr/bin/env python3 |
158 | | - # -*- coding: cp-1252 -*- |
| 158 | + # -*- coding: cp1252 -*- |
159 | 159 | |
160 | 160 | .. rubric:: Footnotes |
161 | 161 | |
|