diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-10-14 23:07:40 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-10-14 23:07:40 (GMT) |
commit | 6c940d6159d6f0a21f664b58b3aa0098041203e1 (patch) | |
tree | 7e3f481f85c51f4f20b69174092862b09dc640cd /Lib/sre_parse.py | |
parent | f63921f9d00bb5dd4a2ec0f95e8f395fc0aa58f4 (diff) | |
download | cpython-6c940d6159d6f0a21f664b58b3aa0098041203e1.zip cpython-6c940d6159d6f0a21f664b58b3aa0098041203e1.tar.gz cpython-6c940d6159d6f0a21f664b58b3aa0098041203e1.tar.bz2 |
Merged revisions 66894 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66894 | benjamin.peterson | 2008-10-14 17:37:18 -0500 (Tue, 14 Oct 2008) | 1 line
remove set compat cruft
........
Diffstat (limited to 'Lib/sre_parse.py')
-rw-r--r-- | Lib/sre_parse.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/sre_parse.py b/Lib/sre_parse.py index 9d6e631..bc71b58 100644 --- a/Lib/sre_parse.py +++ b/Lib/sre_parse.py @@ -16,12 +16,6 @@ import sys from sre_constants import * -def set(seq): - s = {} - for elem in seq: - s[elem] = 1 - return s - SPECIAL_CHARS = ".\\[{()*+?^$|" REPEAT_CHARS = "*+?{" |