[Python-checkins] CVS: python/dist/src/Lib sre.py,1.43,1.44
Fredrik Lundh
effbot@users.sourceforge.net
Sun, 28 Oct 2001 12:15:42 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv26414/Lib
Modified Files:
sre.py
Log Message:
added finditer sanity check
Index: sre.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sre.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** sre.py 2001/10/24 22:16:30 1.43
--- sre.py 2001/10/28 20:15:40 1.44
***************
*** 168,174 ****
if sys.hexversion >= 0x02020000:
def finditer(pattern, string):
! """Return an iterator over all non-overlapping matches in
! the string. For each match, the iterator returns a match
! object.
Empty matches are included in the result."""
--- 168,173 ----
if sys.hexversion >= 0x02020000:
def finditer(pattern, string):
! """Return an iterator over all non-overlapping matches in the
! string. For each match, the iterator returns a match object.
Empty matches are included in the result."""