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 5d42b2b..b581554 100644
--- a/Lib/sre_compile.py
+++ b/Lib/sre_compile.py
@@ -24,12 +24,6 @@ else:
def _identityfunction(x):
return x
-# use xrange if available
-try:
- xrange
-except NameError:
- xrange = range
-
def _compile(code, pattern, flags):
# internal: compile a (sub)pattern
emit = code.append