summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 11:07:14 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 11:07:14 (GMT)
commit736295c347f662b5af612326ed04dea75b0894bb (patch)
treecdba2609802499e352cc0f961bcb3ba4356f13bf /Doc/howto
parent449709272f42c6098a487c726c99bb5d06806954 (diff)
parente47e184c4a383bcf5f73b23b5553b737969d1928 (diff)
downloadcpython-736295c347f662b5af612326ed04dea75b0894bb.zip
cpython-736295c347f662b5af612326ed04dea75b0894bb.tar.gz
cpython-736295c347f662b5af612326ed04dea75b0894bb.tar.bz2
merge with 3.3
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/unicode.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst
index f19cfc3..486195a 100644
--- a/Doc/howto/unicode.rst
+++ b/Doc/howto/unicode.rst
@@ -537,7 +537,7 @@ like those in :meth:`str.encode` and :meth:`bytes.decode`.
Reading Unicode from a file is therefore simple::
- with open('unicode.rst', encoding='utf-8') as f:
+ with open('unicode.txt', encoding='utf-8') as f:
for line in f:
print(repr(line))