Commit e5593dc0 authored by Raymond Hettinger's avatar Raymond Hettinger

Remove unnecessary test. (Thanks Skip)

parent 365f9033
...@@ -24,12 +24,6 @@ else: ...@@ -24,12 +24,6 @@ else:
def _identityfunction(x): def _identityfunction(x):
return x return x
# use xrange if available
try:
xrange
except NameError:
xrange = range
def _compile(code, pattern, flags): def _compile(code, pattern, flags):
# internal: compile a (sub)pattern # internal: compile a (sub)pattern
emit = code.append emit = code.append
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment