diff options
Diffstat (limited to 'Doc/library/email.errors.rst')
-rw-r--r-- | Doc/library/email.errors.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/email.errors.rst b/Doc/library/email.errors.rst index 5838767b18..511ad16358 100644 --- a/Doc/library/email.errors.rst +++ b/Doc/library/email.errors.rst @@ -108,3 +108,7 @@ All defect classes are subclassed from :class:`email.errors.MessageDefect`. * :class:`InvalidBase64CharactersDefect` -- When decoding a block of base64 encoded bytes, characters outside the base64 alphabet were encountered. The characters are ignored, but the resulting decoded bytes may be invalid. + +* :class:`InvalidBase64LengthDefect` -- When decoding a block of base64 encoded + bytes, the number of non-padding base64 characters was invalid (1 more than + a multiple of 4). The encoded block was kept as-is. |