@@ -85,8 +85,11 @@ POST request.
8585
8686 If *padded * is true, the last group of 4 base 64 alphabet characters must
8787 be padded with the '=' character.
88- If *padded * is false, the '=' character is treated as other non-alphabet
89- characters (depending on the value of *validate * and *ignorechars *).
88+ If *padded * is false, padding is neither required nor recognized:
89+ the '=' character is not treated as padding but as a non-alphabet
90+ character, which means it is silently discarded when *validate * is false,
91+ or causes an :exc: `~binascii.Error ` when *validate * is true unless
92+ b'=' is included in *ignorechars *.
9093
9194 A :exc: `binascii.Error ` exception is raised
9295 if *s * is incorrectly padded.
@@ -194,8 +197,10 @@ POST request.
194197
195198 If *padded * is true, the last group of 8 base 32 alphabet characters must
196199 be padded with the '=' character.
197- If *padded * is false, the '=' character is treated as other non-alphabet
198- characters (depending on the value of *ignorechars *).
200+ If *padded * is false, padding is neither required nor recognized:
201+ the '=' character is not treated as padding but as a non-alphabet
202+ character, which means it raises an :exc: `~binascii.Error ` unless
203+ b'=' is included in *ignorechars *.
199204
200205 *ignorechars * should be a :term: `bytes-like object ` containing characters
201206 to ignore from the input.
0 commit comments