We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de575c8 commit 722d484Copy full SHA for 722d484
1 file changed
extmod/modubinascii.c
@@ -120,7 +120,7 @@ mp_obj_t mod_binascii_a2b_base64(mp_obj_t data) {
120
hold[j] = 63;
121
} else if (in[j] == '=') {
122
if (j < 2 || i > 4) {
123
- nlr_raise(mp_obj_new_exception_msg(&mp_type_ValueError, "invalid padding"));
+ nlr_raise(mp_obj_new_exception_msg(&mp_type_ValueError, "incorrect padding"));
124
}
125
hold[j] = 64;
126
} else {
0 commit comments