From: Georg Brandl Date: Sun, 6 Oct 2013 09:24:48 +0000 (+0200) Subject: Clarify section about source code encoding. X-Git-Tag: v2.7.6rc1~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96426886ec5905e2f89bb3cfa0cd388f03261912;p=python Clarify section about source code encoding. --- diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 25380e48a7..5140b43384 100644 --- a/Doc/tutorial/interpreter.rst +++ b/Doc/tutorial/interpreter.rst @@ -185,8 +185,8 @@ encodings can be found in the Python Library Reference, in the section on For example, to write Unicode literals including the Euro currency symbol, the ISO-8859-15 encoding can be used, with the Euro symbol having the ordinal value -164. This script will print the value 8364 (the Unicode codepoint corresponding -to the Euro symbol) and then exit:: +164. This script, when saved in the ISO-8859-15 encoding, will print the value +8364 (the Unicode codepoint corresponding to the Euro symbol) and then exit:: # -*- coding: iso-8859-15 -*-