py: mp_builtin___import__(): Add const to arg type.

This commit is contained in:
Paul Sokolovsky
2014-10-25 21:03:20 +03:00
parent 8456cc017b
commit 8becca7c82
2 changed files with 2 additions and 2 deletions

View File

@@ -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++) {