[2.7] bpo-30134: add an explanation of BytesWarning by cocoatomo · Pull Request #1249 · python/cpython
|
|
||
| .. exception:: BytesWarning | ||
|
|
||
| Base class for warnings related to :class:`bytes` and :class:`bytearray`. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Python 2, bytes is just an (undocumented?) alias for str. I’m not aware of BytesWarning being used in relation to Python 2’s str type.
vstinner
changed the title
bpo-30134: Add an explanation of BytesWarning
[2.7] bpo-30134: Add an explanation of BytesWarning
methane
changed the title
[2.7] bpo-30134: Add an explanation of BytesWarning
[2.7] bpo-30134: add an explanation of BytesWarning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters