Skip to content

Commit 5a36771

Browse files
committed
Merge hell
1 parent 1ef631d commit 5a36771

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

uncompyle6/scanners/scanner37base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ def tokens_append(j, token):
306306
has_arg=jump_inst.has_arg,
307307
inst_size=jump_inst.inst_size,
308308
has_extended_arg=inst.has_extended_arg,
309+
fallthrough=False,
309310
tos_str=None,
310311
start_offset=None,
311312
)

uncompyle6/semantics/n_actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def n_const_list(self, node: SyntaxTree):
268268
elem = elem[0]
269269
if elem == "ADD_VALUE":
270270
if self.version < (3, 0, 0):
271-
value = "%r" % elem.pattr
271+
value = "%r" % repr(elem.pattr)
272272
else:
273273
value = "%s" % str(elem.pattr)
274274
else:

0 commit comments

Comments
 (0)