You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Fix pytest grammar test failure
dict and set comprehensions are only in 2.7+
This commit is contained in:
@@ -179,6 +179,7 @@ class Python26Parser(Python2Parser):
|
||||
|
||||
comp_for ::= SETUP_LOOP expr _for designator comp_iter jb_bp_come_from
|
||||
|
||||
comp_body ::= gen_comp_body
|
||||
|
||||
# Make sure we keep indices the same as 2.7
|
||||
setup_loop_lf ::= SETUP_LOOP LOAD_FAST
|
||||
|
Reference in New Issue
Block a user