Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
a1aba36f
Commit
a1aba36f
authored
Feb 20, 2014
by
Paul Sokolovsky
Browse files
compile: Add comments ergarding non-implemented relative imports.
parent
4d79d5dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/compile.c
View file @
a1aba36f
...
...
@@ -1187,10 +1187,12 @@ void do_import_name(compiler_t *comp, mp_parse_node_t pn, qstr *q1, qstr *q2) {
}
}
else
{
// TODO not implemented
// This covers relative imports starting with dot(s) like "from .foo import"
assert
(
0
);
}
}
else
{
// TODO not implemented
// This covers relative imports with dots only like "from .. import"
assert
(
0
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment