summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-05-28 12:30:38 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-05-28 12:30:38 (GMT)
commit77a3ad743f604c11c23ec6c0100360675b5676f8 (patch)
tree3fbf73cc3974ee35ab3d431dc4c63eab156f02ab /Doc
parent3801f632dcbf5f4f2d0bfe9d5f55cf53da8df5db (diff)
parentea2b490f3dad99cfd677be9fd0c730622a723f38 (diff)
downloadcpython-77a3ad743f604c11c23ec6c0100360675b5676f8.zip
cpython-77a3ad743f604c11c23ec6c0100360675b5676f8.tar.gz
cpython-77a3ad743f604c11c23ec6c0100360675b5676f8.tar.bz2
Issue #18011: base64.b32decode() now raises a binascii.Error if there are
non-alphabet characters present in the input string to conform a docstring. Updated the module documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/base64.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst
index ade0f07..3b23e79 100644
--- a/Doc/library/base64.rst
+++ b/Doc/library/base64.rst
@@ -103,7 +103,7 @@ The modern interface provides:
digit 0 is always mapped to the letter O). For security purposes the default is
``None``, so that 0 and 1 are not allowed in the input.
- The decoded byte string is returned. A :exc:`TypeError` is raised if *s* were
+ The decoded byte string is returned. A :exc:`binascii.Error` is raised if *s* were
incorrectly padded or if there are non-alphabet characters present in the
string.