You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Replace all_instrs with inst_matches...
which works on 3.6+. Still should write a pytest for this.
This commit is contained in:
@@ -416,7 +416,7 @@ class Scanner2(Scanner):
|
||||
(self.opc.PJIT, self.opc.JUMP_FORWARD),
|
||||
(self.opc.PJIT, self.opc.JUMP_ABSOLUTE)])
|
||||
|
||||
prelim = self.all_instr(start, end, self.stmt_opcodes)
|
||||
prelim = self.all_instr(start, end, self.statement_opcodes)
|
||||
|
||||
stmts = self.stmts = set(prelim)
|
||||
pass_stmts = set()
|
||||
|
Reference in New Issue
Block a user