mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +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:
|
||||
acc = (acc << 5) + b32rev[c]
|
||||
except KeyError:
|
||||
raise binascii.Error('Non-base32 digit found')
|
||||
raise binascii.Error('Non-base32 digit found') from None
|
||||
decoded += acc.to_bytes(5, 'big')
|
||||
# Process the last, partial quanta
|
||||
if padchars:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue