diff --git a/uncompyle6/scanners/scanner37base.py b/uncompyle6/scanners/scanner37base.py index 61268cd72..7d46b56f3 100644 --- a/uncompyle6/scanners/scanner37base.py +++ b/uncompyle6/scanners/scanner37base.py @@ -306,6 +306,7 @@ def tokens_append(j, token): has_arg=jump_inst.has_arg, inst_size=jump_inst.inst_size, has_extended_arg=inst.has_extended_arg, + fallthrough=False, tos_str=None, start_offset=None, ) diff --git a/uncompyle6/semantics/n_actions.py b/uncompyle6/semantics/n_actions.py index 13c34e0a0..38e5e8071 100644 --- a/uncompyle6/semantics/n_actions.py +++ b/uncompyle6/semantics/n_actions.py @@ -268,7 +268,7 @@ def n_const_list(self, node: SyntaxTree): elem = elem[0] if elem == "ADD_VALUE": if self.version < (3, 0, 0): - value = "%r" % elem.pattr + value = "%r" % repr(elem.pattr) else: value = "%s" % str(elem.pattr) else: