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 97655e41..5df6f62a 100644
--- a/python/function.py
+++ b/python/function.py
@@ -337,7 +337,7 @@ class Function:
The examples in the following code will use the following variables
>>> from binaryninja import *
- >>> bv = binaryninja.binaryview.BinaryViewType.get_view_of_file("/bin/ls")
+ >>> bv = load("/bin/ls")
>>> current_function = bv.functions[0]
>>> here = current_function.start
"""