Final remnants of xdis fixes?

Restore the last of the excluded bytecode.
This commit is contained in:
rocky
2020-04-18 23:24:56 -04:00
parent fc00d394ec
commit dc7f1ed0cc
3 changed files with 1 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ def or_check(self, lhs, n, rule, ast, tokens, first, last):
return True
# If the jmp is backwards
if last_token == "POP_JUMP_IF_FALSE" and not self.version in (2.7, 3.5):
if last_token == "POP_JUMP_IF_FALSE" and not self.version in (2.7, 3.5, 3.6):
if last_token.attr < last_token_offset:
# For a backwards loop, well compare to the instruction *after*
# then POP_JUMP...