compile: Add comments ergarding non-implemented relative imports.
This commit is contained in:
parent
4d79d5dd7c
commit
a1aba36feb
@ -1187,10 +1187,12 @@ void do_import_name(compiler_t *comp, mp_parse_node_t pn, qstr *q1, qstr *q2) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO not implemented
|
// TODO not implemented
|
||||||
|
// This covers relative imports starting with dot(s) like "from .foo import"
|
||||||
assert(0);
|
assert(0);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO not implemented
|
// TODO not implemented
|
||||||
|
// This covers relative imports with dots only like "from .. import"
|
||||||
assert(0);
|
assert(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user