Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fedd140 commit b768d4fCopy full SHA for b768d4f
1 file changed
Doc/whatsnew/3.0.rst
@@ -221,10 +221,10 @@ changed.
221
hold text is :class:`str`, the type used to hold data is
222
:class:`bytes`. The biggest difference with the 2.x situation is
223
that any attempt to mix text and data in Python 3.0 raises
224
- :ext:`TypeError`, whereas if you were to mix Unicode and 8-bit
+ :exc:`TypeError`, whereas if you were to mix Unicode and 8-bit
225
strings in Python 2.x, it would work if the 8-bit string happened to
226
contain only 7-bit (ASCII) bytes, but you would get
227
- :ext:`UnicodeDecodeError` if it contained non-ASCII values. This
+ :exc:`UnicodeDecodeError` if it contained non-ASCII values. This
228
value-specific behavior has caused numerous sad faces over the
229
years.
230
0 commit comments