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:
Serhiy Storchaka 2013-05-28 15:27:29 +03:00
parent fef952a607
commit ea2b490f3d
4 changed files with 11 additions and 5 deletions

View file

@ -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.