remove xrange and unused variables

This commit is contained in:
Stefan Wojcik
2016-12-09 00:08:59 -05:00
parent 6eb470a821
commit e50b23f047
10 changed files with 58 additions and 57 deletions

View File

@@ -127,7 +127,7 @@ class BaseList(list):
return value
def __iter__(self):
for i in xrange(self.__len__()):
for i in range(self.__len__()):
yield self[i]
def __setitem__(self, key, value, *args, **kwargs):