summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-05-07 17:11:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-05-07 17:11:15 (GMT)
commita2f84ceda54b17af3b79fb63ec3d1ba5e738c2ce (patch)
treed16fcc557cb367f2c6849ecb29849122092a35ba /Doc
parentfcf6b3ecdeec43c8c75a9ab774505a8fd6081a56 (diff)
downloadcpython-a2f84ceda54b17af3b79fb63ec3d1ba5e738c2ce.zip
cpython-a2f84ceda54b17af3b79fb63ec3d1ba5e738c2ce.tar.gz
cpython-a2f84ceda54b17af3b79fb63ec3d1ba5e738c2ce.tar.bz2
Update traceback message
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tut/tut.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index d57d89a..6c3758c 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -850,7 +850,7 @@ u'\xe4\xf6\xfc'
>>> str(u"äöü")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
-UnicodeError: ASCII encoding error: ordinal not in range(128)
+UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
\end{verbatim}
To convert a Unicode string into an 8-bit string using a specific