[Python-checkins] python/dist/src/Lib sre_compile.py,1.52,1.53
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Fri Mar 26 15:16:41 EST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16633
Modified Files:
sre_compile.py
Log Message:
Remove unnecessary test. (Thanks Skip)
Index: sre_compile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sre_compile.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** sre_compile.py 26 Mar 2004 11:16:55 -0000 1.52
--- sre_compile.py 26 Mar 2004 20:16:39 -0000 1.53
***************
*** 25,34 ****
return x
- # use xrange if available
- try:
- xrange
- except NameError:
- xrange = range
-
def _compile(code, pattern, flags):
# internal: compile a (sub)pattern
--- 25,28 ----
More information about the Python-checkins
mailing list