mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Update traceback message
This commit is contained in:
parent
fcf6b3ecde
commit
a2f84ceda5
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ u'\xe4\xf6\xfc'
|
||||||
>>> str(u"äöü")
|
>>> str(u"äöü")
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
File "<stdin>", line 1, in ?
|
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}
|
\end{verbatim}
|
||||||
|
|
||||||
To convert a Unicode string into an 8-bit string using a specific
|
To convert a Unicode string into an 8-bit string using a specific
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue