Some Python 3.6 bytecode->wordcode fixes

This commit is contained in:
rocky
2016-12-15 02:54:25 -05:00
parent b43cbc050d
commit 7755563b65
2 changed files with 15 additions and 4 deletions

View File

@@ -228,7 +228,7 @@ class Scanner(object):
if op < self.opc.HAVE_ARGUMENT:
return 1
else:
return 3
return 2 if self.version >= 3.6 else 3
def remove_mid_line_ifs(self, ifs):
"""