[Python-checkins] cpython (2.7): Clarify section about source code encoding.
georg.brandl
python-checkins at python.org
Sun Oct 6 11:24:07 CEST 2013
http://hg.python.org/cpython/rev/2dca60117aa2
changeset: 86044:2dca60117aa2
branch: 2.7
parent: 86041:6c8a5d5d63b0
user: Georg Brandl <georg at python.org>
date: Sun Oct 06 11:24:48 2013 +0200
summary:
Clarify section about source code encoding.
files:
Doc/tutorial/interpreter.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
--- a/Doc/tutorial/interpreter.rst
+++ b/Doc/tutorial/interpreter.rst
@@ -185,8 +185,8 @@
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 -*-
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list