diff options
| author | cocoatomo <cocoatomo77@gmail.com> | 2019-04-09 14:43:11 +0900 |
|---|---|---|
| committer | Inada Naoki <songofacandy@gmail.com> | 2019-04-09 14:43:11 +0900 |
| commit | d012d64b6a513e760abb6745f7f7ce5e6a31f274 (patch) | |
| tree | c02ae418cb618b4657d02f68415c3a3ba836805a /Doc | |
| parent | fd83a823a6f268dc97ee2bf7d8a1a88d948446e5 (diff) | |
| download | cpython-git-d012d64b6a513e760abb6745f7f7ce5e6a31f274.tar.gz | |
bpo-30134: add an explanation of BytesWarning (GH-1249)
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/library/exceptions.rst | 7 |
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 ------------------- |
