diff options
| author | Benjamin Peterson <benjamin@python.org> | 2008-05-27 01:18:39 (GMT) | 
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2008-05-27 01:18:39 (GMT) | 
| commit | 838c7b3619cc8c68d115235c4bf3b0ab19eb5d04 (patch) | |
| tree | ec348f76b4fb9c3bec38683b5d7499edc1b3e64a /Lib/sre_parse.py | |
| parent | 933d3731deab19b2565fbb0d07511e67277d3d58 (diff) | |
| download | cpython-838c7b3619cc8c68d115235c4bf3b0ab19eb5d04.zip cpython-838c7b3619cc8c68d115235c4bf3b0ab19eb5d04.tar.gz cpython-838c7b3619cc8c68d115235c4bf3b0ab19eb5d04.tar.bz2  | |
remove some __getslice__
Diffstat (limited to 'Lib/sre_parse.py')
| -rw-r--r-- | Lib/sre_parse.py | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py index e63f2ac..4781019 100644 --- a/Lib/sre_parse.py +++ b/Lib/sre_parse.py @@ -139,8 +139,6 @@ class SubPattern:          return self.data[index]      def __setitem__(self, index, code):          self.data[index] = code -    def __getslice__(self, start, stop): -        return SubPattern(self.pattern, self.data[start:stop])      def insert(self, index, code):          self.data.insert(index, code)      def append(self, code):  | 
