mirror of https://github.com/python/cpython
Update traceback message
This commit is contained in:
parent
fcf6b3ecde
commit
a2f84ceda5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue