diff --git a/uncompyle6/parsers/parse32.py b/uncompyle6/parsers/parse32.py index cf6d0620..0907bf52 100644 --- a/uncompyle6/parsers/parse32.py +++ b/uncompyle6/parsers/parse32.py @@ -24,7 +24,6 @@ class Python32Parser(Python3Parser): # Python < 3.5 no POP BLOCK whileTruestmt ::= SETUP_LOOP l_stmts_opt JUMP_BACK COME_FROM_LOOP - whileTruestmt ::= SETUP_LOOP return_stmts COME_FROM_LOOP # Python 3.5+ has jump optimization to remove the redundant # jump_excepts. But in 3.3 we need them added diff --git a/uncompyle6/parsers/parse35.py b/uncompyle6/parsers/parse35.py index a5c3e7a4..20420a58 100644 --- a/uncompyle6/parsers/parse35.py +++ b/uncompyle6/parsers/parse35.py @@ -140,9 +140,6 @@ class Python35Parser(Python34Parser): withasstmt ::= expr SETUP_WITH store suite_stmts_opt POP_BLOCK LOAD_CONST COME_FROM_WITH WITH_CLEANUP END_FINALLY - - # FIXME: should this be in 3.3? - whileTruestmt ::= SETUP_LOOP return_stmts COME_FROM_LOOP """) super(Python35Parser, self).add_custom_rules(tokens, customize) for i, token in enumerate(tokens):