summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-11-23 08:53:36 -0500
committerPeter LaFosse <peter@vector35.com>2021-11-29 09:25:27 -0500
commit9700dad7db37f5898afbbea82ba2fbf465217bf6 (patch)
treeb17cf8e01b30282c7b7f1b91a62cfa417255d783 /python/highlevelil.py
parent7145eaf90190f114449610948d6fa0ddf2191771 (diff)
Fix type hints for BasicBlockList
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index e5b9311d..b8203e75 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -2181,9 +2181,8 @@ class HighLevelILFunction:
return HighLevelILBasicBlock(handle, self, self.view)
@property
- def basic_blocks(self) -> 'function.BasicBlockList':
- """function.BasicBlockList of HighLevelILBasicBlock objects (read-only)"""
- return function.BasicBlockList(self)
+ def basic_blocks(self) -> 'function.HighLevelILBasicBlockList':
+ return function.HighLevelILBasicBlockList(self)
@property
def instructions(self) -> Generator[HighLevelILInstruction, None, None]: