[Python-checkins] bpo-30134: add an explanation of BytesWarning (GH-1249)
Inada Naoki
webhook-mailer at python.org
Tue Apr 9 01:43:15 EDT 2019
https://github.com/python/cpython/commit/d012d64b6a513e760abb6745f7f7ce5e6a31f274
commit: d012d64b6a513e760abb6745f7f7ce5e6a31f274
branch: 2.7
author: cocoatomo <cocoatomo77 at gmail.com>
committer: Inada Naoki <songofacandy at gmail.com>
date: 2019-04-09T14:43:11+09:00
summary:
bpo-30134: add an explanation of BytesWarning (GH-1249)
files:
M Doc/library/exceptions.rst
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 8757c6cb4468..2bc2bce00adc 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
-------------------
More information about the Python-checkins
mailing list