mirror of
https://github.com/python/cpython.git
synced 2025-09-25 01:43:11 +00:00
Remove unnecessary test. (Thanks Skip)
This commit is contained in:
parent
8123ff6bca
commit
29e383754e
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue