You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add another guard on a test
This commit is contained in:
@@ -227,7 +227,8 @@ class Scanner3(Scanner):
|
||||
if op == self.opc.EXTENDED_ARG:
|
||||
# FIXME: The EXTENDED_ARG is used to signal annotation
|
||||
# parameters
|
||||
if self.insts[i+1].opcode != self.opc.MAKE_FUNCTION:
|
||||
if (i+1 < n and
|
||||
self.insts[i+1].opcode != self.opc.MAKE_FUNCTION):
|
||||
continue
|
||||
|
||||
if inst.offset in jump_targets:
|
||||
|
Reference in New Issue
Block a user