mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
py: mp_builtin___import__(): Add const to arg type.
This commit is contained in:
@@ -122,7 +122,7 @@ STATIC void do_load(mp_obj_t module_obj, vstr_t *file) {
|
||||
mp_parse_compile_execute(lex, MP_PARSE_FILE_INPUT, mod_globals, mod_globals);
|
||||
}
|
||||
|
||||
mp_obj_t mp_builtin___import__(mp_uint_t n_args, mp_obj_t *args) {
|
||||
mp_obj_t mp_builtin___import__(mp_uint_t n_args, const mp_obj_t *args) {
|
||||
#if DEBUG_PRINT
|
||||
DEBUG_printf("__import__:\n");
|
||||
for (mp_uint_t i = 0; i < n_args; i++) {
|
||||
|
||||
Reference in New Issue
Block a user