diff Parser/Python.asdl @ 54743:40c8c35492f1 legacy-trunk

when no module is given in a 'from' relative import, make ImportFrom.module NULL
author Benjamin Peterson <benjamin@python.org>
date Sat, 13 Jun 2009 20:23:33 +0000
parents 2ff88ae9850c
children c2fdf25329ff
line wrap: on
line diff
--- a/Parser/Python.asdl	Sat Jun 13 17:08:53 2009 +0000
+++ b/Parser/Python.asdl	Sat Jun 13 20:23:33 2009 +0000
@@ -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