diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-05-28 15:27:29 +0300 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-05-28 15:27:29 +0300 |
| commit | ea2b490f3dad99cfd677be9fd0c730622a723f38 (patch) | |
| tree | ac37b1311dcd38f2aa9f56ffe92d50856fbee6b3 /Doc/library/base64.rst | |
| parent | fef952a60749477cb612203cd09d208869b6e5e2 (diff) | |
| download | cpython-git-ea2b490f3dad99cfd677be9fd0c730622a723f38.tar.gz | |
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/library/base64.rst')
| -rw-r--r-- | Doc/library/base64.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst index ade0f07ca7..3b23e795d4 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. |
