1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-22 05:03:56 +03:00

Make gdb ArrayIterator python 3 compatible

This commit is contained in:
Maxime Coste 2017-02-06 22:22:24 +00:00
parent 45b145f540
commit dc2c5eaaa4

View File

@ -18,6 +18,9 @@ class ArrayIterator:
self.index = self.index + 1
return ('[%d]' % index, (self.data + index).dereference())
def __next__(self):
return self.next()
class ArrayView:
"""Print a ArrayView"""