From 9700dad7db37f5898afbbea82ba2fbf465217bf6 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 23 Nov 2021 08:53:36 -0500 Subject: Fix type hints for BasicBlockList --- python/lowlevelil.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'python/lowlevelil.py') diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 4d320d18..c766b8dd 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -2793,9 +2793,8 @@ class LowLevelILFunction: return LowLevelILBasicBlock(handle, self, self.view) @property - def basic_blocks(self) -> 'function.BasicBlockList': - """function.BasicBlockList of LowLevelILBasicBlock objects (read-only)""" - return function.BasicBlockList(self) + def basic_blocks(self) -> 'function.LowLevelILBasicBlockList': + return function.LowLevelILBasicBlockList(self) @property def instructions(self) -> Generator['LowLevelILInstruction', None, None]: -- cgit v1.3.1