From 1491dc64b517241c53071e43eebf10a07bdd84df Mon Sep 17 00:00:00 2001 From: doronz88 Date: Wed, 11 Sep 2024 16:37:44 +0300 Subject: [PATCH] utils: fix `create_regs_description_from_args()` --- fa/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fa/utils.py b/fa/utils.py index 2fd7949..f8f8f1e 100644 --- a/fa/utils.py +++ b/fa/utils.py @@ -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)