EXTENDED_ARG is implemented in 2.6

This commit is contained in:
rocky
2017-05-19 19:29:22 -04:00
parent 2a47f0309f
commit 49fd430505

View File

@@ -178,7 +178,6 @@ class Scanner26(scan.Scanner2):
oparg = self.get_argument(offset) + extended_arg oparg = self.get_argument(offset) + extended_arg
extended_arg = 0 extended_arg = 0
if op == self.opc.EXTENDED_ARG: if op == self.opc.EXTENDED_ARG:
raise NotImplementedError
extended_arg = oparg * scan.L65536 extended_arg = oparg * scan.L65536
continue continue
if op in self.opc.hasconst: if op in self.opc.hasconst: