From ec5d931ee3f4760b250de000ed005c73d17af462 Mon Sep 17 00:00:00 2001 From: Shadab Zafar Date: Thu, 2 Jun 2016 13:02:17 +0530 Subject: [PATCH] Remove redundant __getslice__ from TransformGenerator --- pathod/language/generators.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pathod/language/generators.py b/pathod/language/generators.py index bbad3d18a..e736e0437 100644 --- a/pathod/language/generators.py +++ b/pathod/language/generators.py @@ -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