Merge pull request #7780 from jepler/fix-struct-pack

use `values` in this error message ...
This commit is contained in:
Dan Halbert 2023-03-22 20:19:08 -04:00 committed by GitHub
commit 2492fb0b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ void shared_modules_struct_pack_into(mp_obj_t fmt_in, byte *p, byte *end_p, size
}
fmt++;
}
(void)mp_arg_validate_length(n_args, i, MP_QSTR_args);
(void)mp_arg_validate_length(n_args, i, MP_QSTR_values);
}
mp_obj_tuple_t *shared_modules_struct_unpack_from(mp_obj_t fmt_in, byte *p, byte *end_p, bool exact_size) {