summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorGalen Williamson <galen@vector35.com>2021-07-07 18:10:36 -0400
committerGalen Williamson <galen@vector35.com>2021-07-07 18:10:36 -0400
commit9dada0ef8d9d50e6ebc5afe97c25f624bb22da51 (patch)
tree89a40e552371fc759000a676f4b0bfe93fbb1552 /python/highlevelil.py
parent468d9184a343beeac9cac2e492a1f842a6a3234e (diff)
fixed type incides should be indices
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: