Skip to content

Commit

Permalink
Merge pull request #54 from doronz88/bugfix/create_regs_description_f…
Browse files Browse the repository at this point in the history
…rom_args

utils: fix `create_regs_description_from_args()`
  • Loading branch information
doronz88 authored Sep 11, 2024
2 parents 2257935 + 1491dc6 commit 9bf9ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fa/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def add_operand_args(parser: argparse.ArgumentParser) -> None:
parser.add_argument(f'--op{op_ix}', default=None)


def create_regs_description_from_args(*args) -> List[Tuple[int, str]]:
def create_regs_description_from_args(args) -> List[Tuple[int, str]]:
regs = []
for op_ix in range(MAX_NUMBER_OF_OPERANDS):
v = getattr(args, f'op{op_ix}', None)
Expand Down

0 comments on commit 9bf9ed0

Please sign in to comment.