mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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):
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue