Remove redundant __getslice__ from TransformGenerator
This commit is contained in:
parent
b510616c69
commit
ec5d931ee3
|
@ -37,10 +37,6 @@ class TransformGenerator(object):
|
|||
d = self.gen.__getitem__(x)
|
||||
return self.transform(x, d)
|
||||
|
||||
def __getslice__(self, a, b):
|
||||
d = self.gen.__getslice__(a, b)
|
||||
return self.transform(a, d)
|
||||
|
||||
def __repr__(self):
|
||||
return "'transform(%s)'" % self.gen
|
||||
|
||||
|
|
Loading…
Reference in New Issue