[Python-checkins] python/dist/src/Lib sre.py,1.44,1.44.8.1

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
2002年10月14日 05:21:20 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv18281
Modified Files:
 Tag: release22-maint
	sre.py 
Log Message:
Add finditer to __all__ (when defining it at all).
SF bug 585882. Will forward-port.
Index: sre.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sre.py,v
retrieving revision 1.44
retrieving revision 1.44.8.1
diff -C2 -d -r1.44 -r1.44.8.1
*** sre.py	28 Oct 2001 20:15:40 -0000	1.44
--- sre.py	14 Oct 2002 12:21:16 -0000	1.44.8.1
***************
*** 167,170 ****
--- 167,171 ----
 
 if sys.hexversion >= 0x02020000:
+ __all__.append("finditer")
 def finditer(pattern, string):
 """Return an iterator over all non-overlapping matches in the

AltStyle によって変換されたページ (->オリジナル) /