Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added more information to docstring of b64decode
  • Loading branch information
idan22moral committed Jul 20, 2021
commit fe287eb147267aaa69569eeed0982bbe329c8597
3 changes: 3 additions & 0 deletions Lib/base64.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ def b64decode(s, altchars=None, validate=False):
normal base-64 alphabet nor the alternative alphabet are discarded prior
to the padding check. If validate is True, these non-alphabet characters
in the input result in a binascii.Error.
For more information about the strict base64 check, see:

https://docs.python.org/3.11/library/binascii.html#binascii.a2b_base64
"""
s = _bytes_from_decode_data(s)
if altchars is not None:
Expand Down