From 4699046403729894016891936974371249694232 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Sun, 15 Jun 2025 16:34:31 -0400 Subject: Python: Couple minor typing tweaks --- python/mediumlevelil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/mediumlevelil.py') diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index d4aef4ce..b4d6663e 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -3621,7 +3621,7 @@ class MediumLevelILFunction: :return: Index of added instruction in the current function :rtype: int """ - return core.BNMediumLevelILAddInstruction(self.handle, expr) + return InstructionIndex(core.BNMediumLevelILAddInstruction(self.handle, expr)) def nop(self, loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex: """ -- cgit v1.3.1