3.7 handling of 4-level attribute import

Fixes #239
This commit is contained in:
rocky
2019-05-14 12:09:38 -04:00
parent 26140934da
commit 3abe8d11d3
4 changed files with 2 additions and 1 deletions

View File

@@ -73,8 +73,8 @@ class Python37Parser(Python36Parser):
POP_TOP POP_TOP POP_TOP POP_EXCEPT POP_TOP POP_BLOCK
else_suite COME_FROM_LOOP
# Is there a pattern here?
attributes ::= IMPORT_FROM ROT_TWO POP_TOP IMPORT_FROM
attributes ::= attributes ROT_TWO POP_TOP IMPORT_FROM
attribute37 ::= expr LOAD_METHOD
expr ::= attribute37