diff options
author | Georg Brandl <georg@python.org> | 2009-06-08 18:59:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-06-08 18:59:09 (GMT) |
commit | 7ae90dd22d4a8e2fbf49c4fd0be9cc88bb852fee (patch) | |
tree | 8971da88453ee050e573d749a6a4728da3487245 /Doc/tutorial/controlflow.rst | |
parent | 1b8b7183abc265f3bc47a6ce9028eebdcb42b1f0 (diff) | |
download | cpython-7ae90dd22d4a8e2fbf49c4fd0be9cc88bb852fee.zip cpython-7ae90dd22d4a8e2fbf49c4fd0be9cc88bb852fee.tar.gz cpython-7ae90dd22d4a8e2fbf49c4fd0be9cc88bb852fee.tar.bz2 |
Elaborate encoding recommendations, and fix ambiguous wording for list comprehensions.
Diffstat (limited to 'Doc/tutorial/controlflow.rst')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index e266a04..5e4de0e 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -675,7 +675,12 @@ extracted for you: (see :ref:`tut-firstclasses` for more on classes and methods). * Don't use fancy encodings if your code is meant to be used in international - environments. Plain ASCII works best in any case. + environments. Python's default, UTF-8, or even plain ASCII work best in any + case. + +* Likewise, don't use non-ASCII characters in identifiers if there is only the + slightest chance people speaking a different language will read or maintain + the code. .. rubric:: Footnotes |