diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-04-09 12:49:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 12:49:49 (GMT) |
commit | 4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d (patch) | |
tree | e43ab76f49e1b4ecc8feda8b197a3fcc256e43a2 /Objects/exceptions.c | |
parent | 87ed1beb3e15c619f25b9a9308d1ec35659feffd (diff) | |
download | cpython-4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d.zip cpython-4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d.tar.gz cpython-4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d.tar.bz2 |
bpo-30134: fix BytesWarning doc, docstring and message (GH-12739)
Diffstat (limited to 'Objects/exceptions.c')
-rw-r--r-- | Objects/exceptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 224d1ba..fc60152 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -2014,8 +2014,8 @@ SimpleExtendsException(PyExc_Warning, UnicodeWarning, * BytesWarning extends Warning */ SimpleExtendsException(PyExc_Warning, BytesWarning, - "Base class for warnings about bytes and buffer related problems, mostly\n" - "related to conversion from str or comparing to str."); + "Base class for warnings about bytes and bytearray related problems, \n" + "mostly related to comparing to str."); /* Pre-computed MemoryError instance. Best to create this as early as * possible and not wait until a MemoryError is actually raised! |