[2.7] bpo-30134: add BytesWarning in warnings.rst by methane · Pull Request #12738 · python/cpython
Conversation
| | | Unicode. | | ||
| +----------------------------------+-----------------------------------------------+ | ||
| | :exc:`BytesWarning` | Base category for warnings related to | | ||
| | | str and bytearray. | |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep bytes
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually both str and bytes are not related. Keep just bytearray. Fix also the description in the other place.
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