Commit 07bf4e64fbf63201afb37b70ff764e8882d593d3
1 parent
9a754c64
Exists in
master
and in
1 other branch
Corrige metodo getInterval do Iterator
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/new/Iterator.py
@@ -48,7 +48,7 @@ class Iterator(object): | @@ -48,7 +48,7 @@ class Iterator(object): | ||
48 | def getAntT(self): | 48 | def getAntT(self): |
49 | return self.getToken("-")[1] | 49 | return self.getToken("-")[1] |
50 | 50 | ||
51 | - def getinterval(self, n): | 51 | + def getInterval(self, n): |
52 | if self.count+n > self.size: raise IndexError | 52 | if self.count+n > self.size: raise IndexError |
53 | return self.__list[self.count:self.count+n] | 53 | return self.__list[self.count:self.count+n] |
54 | 54 |