Show More
@@ -47,7 +47,7 b' class BaseIndexObject(object):' | |||||
47 | def _fix_index(self, i): |
|
47 | def _fix_index(self, i): | |
48 | if not isinstance(i, int): |
|
48 | if not isinstance(i, int): | |
49 | raise TypeError("expecting int indexes") |
|
49 | raise TypeError("expecting int indexes") | |
50 |
if i < 0 or i >= len(self) |
|
50 | if i < 0 or i >= len(self): | |
51 | raise IndexError |
|
51 | raise IndexError | |
52 | return i |
|
52 | return i | |
53 |
|
53 |
General Comments 0
You need to be logged in to leave comments.
Login now