commit | a72be3b325ef207fdf16cdae1cdd9b0f3e349efd | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Jun 13 20:23:33 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Jun 13 20:23:33 2009 +0000 |
tree | 31243e5321cf56d4d933942a8d4f9945c182f706 | |
parent | 52c4bec76bdcb962e883eac1e55f98df488b558c [diff] [blame] |
when no module is given in a 'from' relative import, make ImportFrom.module NULL
diff --git a/Parser/Python.asdl b/Parser/Python.asdl index a4394c9..f791709 100644 --- a/Parser/Python.asdl +++ b/Parser/Python.asdl
@@ -34,7 +34,7 @@ | Assert(expr test, expr? msg) | Import(alias* names) - | ImportFrom(identifier module, alias* names, int? level) + | ImportFrom(identifier? module, alias* names, int? level) -- Doesn't capture requirement that locals must be -- defined if globals is