You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Bang on getting 3.x "try" vs "try/else" disambiguated
This commit is contained in:
@@ -241,6 +241,7 @@ class Python38Parser(Python37Parser):
|
||||
self.remove_rules_38()
|
||||
self.check_reduce["whileTruestmt38"] = "tokens"
|
||||
self.check_reduce["whilestmt38"] = "tokens"
|
||||
self.check_reduce["try_elsestmtl38"] = "AST"
|
||||
|
||||
def reduce_is_invalid(self, rule, ast, tokens, first, last):
|
||||
invalid = super(Python38Parser,
|
||||
|
Reference in New Issue
Block a user