mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +00:00
Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced.
This commit is contained in:
parent
80f3bf95f1
commit
5cc9d32ee9
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ def b32decode(s, casefold=False, map01=None):
|
||||||
for c in quanta:
|
for c in quanta:
|
||||||
acc = (acc << 5) + b32rev[c]
|
acc = (acc << 5) + b32rev[c]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise binascii.Error('Non-base32 digit found')
|
raise binascii.Error('Non-base32 digit found') from None
|
||||||
decoded += acc.to_bytes(5, 'big')
|
decoded += acc.to_bytes(5, 'big')
|
||||||
# Process the last, partial quanta
|
# Process the last, partial quanta
|
||||||
if padchars:
|
if padchars:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue