summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2019-03-08 14:13:31 -0500
committerPeter LaFosse <peter@vector35.com>2019-03-08 14:13:31 -0500
commit1188d02f0f5aed4a681eeb68c0e33803d5c06155 (patch)
tree03bf60c1a4f5e8b21e282a1d06155aa3e0ae0734 /python
parent73c6fc68b205fcb8937bb7c7dd4b9df2652eb1ac (diff)
Fix comment
Diffstat (limited to 'python')
-rw-r--r--python/basicblock.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/basicblock.py b/python/basicblock.py
index 27eadd51..849d529f 100644
--- a/python/basicblock.py
+++ b/python/basicblock.py
@@ -96,8 +96,7 @@ class BasicBlock(object):
def __iter__(self):
if self._instStarts is None:
- # no cache is instruction start cache is built so we don't build one
- # because the user is likely iterating only
+ # don't and instruction start cache the object is likely ephemeral
idx = self.start
while idx < self.end:
data = self.view.read(idx, min(self.arch.max_instr_length, self.end - idx))