1 parent c611f17 commit cf8229eCopy full SHA for cf8229e
1 file changed
Grammar/Grammar
@@ -62,7 +62,7 @@ yield_stmt: yield_expr
62
raise_stmt: 'raise' [test [',' test [',' test]]]
63
import_stmt: import_name | import_from
64
import_name: 'import' dotted_as_names
65
-import_from: ('from' ('.'* dotted_name | '.')
+import_from: ('from' ('.'* dotted_name | '.'+)
66
'import' ('*' | '(' import_as_names ')' | import_as_names))
67
import_as_name: NAME [('as' | NAME) NAME]
68
dotted_as_name: dotted_name [('as' | NAME) NAME]
0 commit comments