]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30134: add an explanation of BytesWarning (GH-1249)
authorcocoatomo <cocoatomo77@gmail.com>
Tue, 9 Apr 2019 05:43:11 +0000 (14:43 +0900)
committerInada Naoki <songofacandy@gmail.com>
Tue, 9 Apr 2019 05:43:11 +0000 (14:43 +0900)
Doc/library/exceptions.rst

index 8757c6cb44682e8706a15abc191e017db3a2b832..2bc2bce00adc176461327d92663da886cb02110d 100644 (file)
@@ -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
 -------------------