summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2023-01-09 18:14:23 -0500
committerJosh Ferrell <josh@vector35.com>2023-01-09 18:14:23 -0500
commitd87e46ca2d9b689032ca4434ba8dd3f66cdfd1b0 (patch)
tree2216aaa591c39b367687dcbcce68ca0d40671634 /python
parentb0a9510e0b58f504e80c0a9328c1af267a9629b0 (diff)
Fix type hint for Function.set_call_reg_stack_adjustment
Diffstat (limited to 'python')
-rw-r--r--python/function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py
index 99e57f86..dcd07839 100644
--- a/python/function.py
+++ b/python/function.py
@@ -2941,7 +2941,7 @@ class Function:
def set_call_reg_stack_adjustment(
self, addr: int, adjust: Mapping['architecture.RegisterStackName',
- 'types.RegisterStackAdjustmentWithConfidence'],
+ Union[int, 'types.RegisterStackAdjustmentWithConfidence']],
arch: Optional['architecture.Architecture'] = None
) -> None:
if arch is None: