Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5cc9d32

Browse files
Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced.
1 parent 80f3bf9 commit 5cc9d32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/base64.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def b32decode(s, casefold=False, map01=None):
222222
for c in quanta:
223223
acc = (acc << 5) + b32rev[c]
224224
except KeyError:
225-
raise binascii.Error('Non-base32 digit found')
225+
raise binascii.Error('Non-base32 digit found') from None
226226
decoded += acc.to_bytes(5, 'big')
227227
# Process the last, partial quanta
228228
if padchars:

0 commit comments

Comments
 (0)