Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2f84ce

Browse files
committed
Update traceback message
1 parent fcf6b3e commit a2f84ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tut/tut.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ \subsection{Unicode Strings \label{unicodeStrings}}
850850
>>> str(u"äöü")
851851
Traceback (most recent call last):
852852
File "<stdin>", line 1, in ?
853-
UnicodeError: ASCII encoding error: ordinal not in range(128)
853+
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
854854
\end{verbatim}
855855

856856
To convert a Unicode string into an 8-bit string using a specific

0 commit comments

Comments
 (0)