summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorcocoatomo <cocoatomo77@gmail.com>2019-04-09 14:43:11 +0900
committerInada Naoki <songofacandy@gmail.com>2019-04-09 14:43:11 +0900
commitd012d64b6a513e760abb6745f7f7ce5e6a31f274 (patch)
treec02ae418cb618b4657d02f68415c3a3ba836805a /Doc
parentfd83a823a6f268dc97ee2bf7d8a1a88d948446e5 (diff)
downloadcpython-git-d012d64b6a513e760abb6745f7f7ce5e6a31f274.tar.gz
bpo-30134: add an explanation of BytesWarning (GH-1249)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/exceptions.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 8757c6cb44..2bc2bce00a 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -524,6 +524,13 @@ module for more information.
.. versionadded:: 2.5
+.. exception:: BytesWarning
+
+ Base class for warnings related to :class:`str` and :class:`bytearray`.
+
+ .. versionadded:: 2.6
+
+
Exception hierarchy
-------------------