Python 3: "and" doesn't have optional come_from

This commit is contained in:
rocky
2016-10-05 03:34:29 -04:00
parent 0df2c8b4bb
commit 649e4518fe
4 changed files with 5 additions and 2 deletions

View File

@@ -745,7 +745,8 @@ class Scanner3(Scanner):
code[prev_op[prev_op[rtarget]]] != self.opc.JUMP_ABSOLUTE)):
rtarget = prev_op[rtarget]
# Does the "if" jump just beyond a jump op, then this is probably an if statement
# Does the "if" jump just beyond a jump op, then this can be
# a block inside an "if" statement
if self.is_jump_forward(prev_op[rtarget]):
if_end = self.get_target(prev_op[rtarget])