summaryrefslogtreecommitdiffstats
path: root/Parser/Python.asdl
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-13 20:23:33 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-13 20:23:33 (GMT)
commita72be3b325ef207fdf16cdae1cdd9b0f3e349efd (patch)
tree31243e5321cf56d4d933942a8d4f9945c182f706 /Parser/Python.asdl
parent52c4bec76bdcb962e883eac1e55f98df488b558c (diff)
downloadcpython-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/Python.asdl')
-rw-r--r--Parser/Python.asdl2
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