diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 09:24:48 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 09:24:48 (GMT) |
commit | 96426886ec5905e2f89bb3cfa0cd388f03261912 (patch) | |
tree | 3d177cbd0e0f807be0774295ff8963507106ceb8 /Doc/tutorial | |
parent | 6451ae625432040fc5af2230f2268e7142c8e1ac (diff) | |
download | cpython-96426886ec5905e2f89bb3cfa0cd388f03261912.zip cpython-96426886ec5905e2f89bb3cfa0cd388f03261912.tar.gz cpython-96426886ec5905e2f89bb3cfa0cd388f03261912.tar.bz2 |
Clarify section about source code encoding.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/interpreter.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 25380e4..5140b43 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 -*- |