mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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.
This commit is contained in:
parent
fef952a607
commit
ea2b490f3d
4 changed files with 11 additions and 5 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue