Skip to content

Commit

Permalink
chore: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
P403n1x87 committed Nov 27, 2021
1 parent 4e4a335 commit 5dafe32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bytecode/concrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5dafe32

Please sign in to comment.