diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-27 01:18:39 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-27 01:18:39 +0000 |
commit | 01ab9f0cca71e3b09eafed739c4cb8c1ad9aa6c6 (patch) | |
tree | 941c68f812024c5118373dc2bdc501f5df94cc24 /Lib/sre_parse.py | |
parent | 7eda8db9026936e0b2ba72084898af7df23635da (diff) | |
download | cpython-01ab9f0cca71e3b09eafed739c4cb8c1ad9aa6c6.tar.gz |
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 e63f2acbb4..47810193d1 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): |