summaryrefslogtreecommitdiffstats
path: root/Lib/sre_compile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sre_compile.py')
-rw-r--r--Lib/sre_compile.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/sre_compile.py b/Lib/sre_compile.py
index 65d2ccf..2a0c745 100644
--- a/Lib/sre_compile.py
+++ b/Lib/sre_compile.py
@@ -24,12 +24,6 @@ else:
def _identityfunction(x):
return x
-def set(seq):
- s = {}
- for elem in seq:
- s[elem] = 1
- return s
-
_LITERAL_CODES = set([LITERAL, NOT_LITERAL])
_REPEATING_CODES = set([REPEAT, MIN_REPEAT, MAX_REPEAT])
_SUCCESS_CODES = set([SUCCESS, FAILURE])