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

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Mon, 14 Oct 2002 05:22:19 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv18627

Modified Files:
	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.45
diff -C2 -d -r1.44 -r1.45
*** sre.py	28 Oct 2001 20:15:40 -0000	1.44
--- sre.py	14 Oct 2002 12:22:17 -0000	1.45
***************
*** 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