summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index d3312474..55d979f8 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -977,7 +977,7 @@ class HighLevelILBasicBlock(basicblock.BasicBlock):
def __getitem__(self, idx):
size = self.end - self.start
if isinstance(idx, slice):
- return [self[index] for index in range(*idx.incides(size))]
+ return [self[index] for index in range(*idx.indices(size))]
if idx > size or idx < -size:
raise IndexError("list index is out of range")
if idx >= 0: