diff --git a/bytecode/concrete.py b/bytecode/concrete.py index 2a43d1d..4b6dd9d 100644 --- a/bytecode/concrete.py +++ b/bytecode/concrete.py @@ -290,8 +290,7 @@ def _remove_extended_args(instructions): if instr.name == "EXTENDED_ARG": nb_extended_args += 1 if extended_arg is not None: - raise ValueError("EXTENDED_ARG followed " "by EXTENDED_ARG") - extended_arg = (extended_arg << 8) + instr.arg + raise ValueError("EXTENDED_ARG followed by EXTENDED_ARG") else: extended_arg = instr.arg