Skip to content

Commit

Permalink
utils: fix create_regs_description_from_args()
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Sep 11, 2024
1 parent 2257935 commit 1491dc6
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 1491dc6

Please sign in to comment.