summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py
index 3c8c6c03..a8d3d257 100644
--- a/python/function.py
+++ b/python/function.py
@@ -2910,7 +2910,7 @@ class Function:
>>> # Change the current call site to no-return
>>> target = bv.get_function_at(list(filter(lambda ref: ref.address == here, current_function.call_sites))[0].mlil.dest.value.value)
- >>> ft = target.function_type.mutable_copy()
+ >>> ft = target.type.mutable_copy()
>>> ft.can_return = False
>>> current_function.set_call_type_adjustment(here, ft)
"""