diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-06-13 20:23:33 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-06-13 20:23:33 (GMT) |
commit | a72be3b325ef207fdf16cdae1cdd9b0f3e349efd (patch) | |
tree | 31243e5321cf56d4d933942a8d4f9945c182f706 /Parser | |
parent | 52c4bec76bdcb962e883eac1e55f98df488b558c (diff) | |
download | cpython-a72be3b325ef207fdf16cdae1cdd9b0f3e349efd.zip cpython-a72be3b325ef207fdf16cdae1cdd9b0f3e349efd.tar.gz cpython-a72be3b325ef207fdf16cdae1cdd9b0f3e349efd.tar.bz2 |
when no module is given in a 'from' relative import, make ImportFrom.module NULL
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/Python.asdl | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ module Python version "$Revision$" | 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 |