From 29e383754e4a96b46d1bd9f72a49694cdb993850 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 26 Mar 2004 20:16:39 +0000 Subject: [PATCH] Remove unnecessary test. (Thanks Skip) --- Lib/sre_compile.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/sre_compile.py b/Lib/sre_compile.py index 5d42b2b096f..b5815548a50 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