From 9d59851bb5fff092406dc56d03fc7e522f21fe58 Mon Sep 17 00:00:00 2001 From: DevmateXplatTypoFixes Bot Date: Tue, 14 Apr 2026 11:20:12 -0700 Subject: [PATCH] xplat/executorch/backends/arm/_passes/arm_pass_utils.py Reviewed By: franklinho Differential Revision: D100777731 --- backends/arm/_passes/arm_pass_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/arm/_passes/arm_pass_utils.py b/backends/arm/_passes/arm_pass_utils.py index 7f9b47d3e01..bc395ee557a 100644 --- a/backends/arm/_passes/arm_pass_utils.py +++ b/backends/arm/_passes/arm_pass_utils.py @@ -295,8 +295,8 @@ def get_node_arg(args: list | dict, key: int | str | type, default_value=None): """Help-function for getting a value from node.args/ kwargs, three cases: 1. By position in node.args - Returns arg at given position or default_value if index is one out of bounds - 2. By key in node.kwargs - Returns kwarg with given key or default_value if it deos not exist - 3. By type in node.args - Returns first arg of args of given type. Useful for cases where arg postions may differ but types are unique. + 2. By key in node.kwargs - Returns kwarg with given key or default_value if it does not exist + 3. By type in node.args - Returns first arg of args of given type. Useful for cases where arg positions may differ but types are unique. """ if isinstance(key, int):