Skip to content

Commit

Permalink
Merge pull request #74 from mitre/opcode_typo
Browse files Browse the repository at this point in the history
Fixed typo in op_imports.py
  • Loading branch information
rocky authored Feb 27, 2021
2 parents 3b403cb + d232bb4 commit f400821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdis/op_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def remap_opcodes(op_obj, alternate_opmap):
opcodes_with_args = {}
for opname, opcode in op_obj.opmap.items():
if opcode >= op_obj.HAVE_ARGUMENT:
opcode_with_args[opname] = opcode
opcodes_with_args[opname] = opcode

for opname, alt_opcode in alternate_opmap.items():
if opname not in op_obj.opmap:
Expand Down

0 comments on commit f400821

Please sign in to comment.