[Python-checkins] CVS: python/dist/src/Doc/lib libre.tex,1.60.2.1,1.60.2.2

Fred L. Drake fdrake@users.sourceforge.net
2001年7月12日 07:15:06 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv13040/lib
Modified Files:
 Tag: release21-maint
	libre.tex 
Log Message:
Fix return value for m.group() for groups not in the part of the RE that
matched; reported by Paul Moore.
Index: libre.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
retrieving revision 1.60.2.1
retrieving revision 1.60.2.2
diff -C2 -r1.60.2.1 -r1.60.2.2
*** libre.tex	2001年04月18日 17:27:10	1.60.2.1
--- libre.tex	2001年07月12日 14:15:03	1.60.2.2
***************
*** 663,667 ****
 in the pattern, an \exception{IndexError} exception is raised.
 If a group is contained in a part of the pattern that did not match,
! the corresponding result is \code{-1}. If a group is contained in a 
 part of the pattern that matched multiple times, the last match is
 returned.
--- 663,667 ----
 in the pattern, an \exception{IndexError} exception is raised.
 If a group is contained in a part of the pattern that did not match,
! the corresponding result is \code{None}. If a group is contained in a 
 part of the pattern that matched multiple times, the last match is
 returned.

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