summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-10-01 15:35:10 +1000
committerDamien George <damien.p.george@gmail.com>2018-10-01 15:35:10 +1000
commita9237cee8252901265891cef39590292a9565591 (patch)
tree86957ed6e56f781703049a2d329011df8ef5cece /py/runtime.c
parent4ab397576ff75bd212382105c97257d0139e17e9 (diff)
py/runtime: Remove comment in mp_import_name about level being 0.
A non-zero level has been supported for some time now.
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 13a7e7426..8f020f5d5 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -1319,7 +1319,7 @@ mp_obj_t mp_import_name(qstr name, mp_obj_t fromlist, mp_obj_t level) {
args[1] = mp_const_none; // TODO should be globals
args[2] = mp_const_none; // TODO should be locals
args[3] = fromlist;
- args[4] = level; // must be 0; we don't yet support other values
+ args[4] = level;
// TODO lookup __import__ and call that instead of going straight to builtin implementation
return mp_builtin___import__(5, args);