Commit 87ed1beb authored by Inada Naoki's avatar Inada Naoki Committed by GitHub

bpo-30134: add BytesWarning in warnings.rst (GH-12738)

parent d012d64b
...@@ -91,6 +91,9 @@ following warnings category classes are currently defined: ...@@ -91,6 +91,9 @@ following warnings category classes are currently defined:
| :exc:`UnicodeWarning` | Base category for warnings related to | | :exc:`UnicodeWarning` | Base category for warnings related to |
| | Unicode. | | | Unicode. |
+----------------------------------+-----------------------------------------------+ +----------------------------------+-----------------------------------------------+
| :exc:`BytesWarning` | Base category for warnings related to |
| | str and bytearray. |
+----------------------------------+-----------------------------------------------+
While these are technically built-in exceptions, they are documented here, While these are technically built-in exceptions, they are documented here,
because conceptually they belong to the warnings mechanism. because conceptually they belong to the warnings mechanism.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment