From 11b8e1dffc4037d5777e8fdca9903a846368d83d Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 7 Sep 2021 07:58:34 -0400 Subject: Improve typehints in highlevelil.py --- python/highlevelil.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/highlevelil.py b/python/highlevelil.py index 570df465..5ec4f1bf 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -400,11 +400,11 @@ class HighLevelILInstruction: return self.core_instr.address @property - def source_operand(self) -> int: - return self.core_instr.source_operand + def source_operand(self) -> ExpressionIndex: + return ExpressionIndex(self.core_instr.source_operand) @property - def core_operands(self) -> Any: + def core_operands(self) -> OperandsType: return self.core_instr.operands @property -- cgit v1.3.1