[Python-checkins] python/dist/src/Doc/lib libre.tex,1.85,1.86
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
2002年8月20日 06:57:51 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv7081/lib
Modified Files:
libre.tex
Log Message:
Clarify the endpos argument to the rx.match() method.
Closes SF bug #597177.
Index: libre.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** libre.tex 30 Jul 2002 17:51:20 -0000 1.85
--- libre.tex 20 Aug 2002 13:57:47 -0000 1.86
***************
*** 669,674 ****
The optional parameter \var{endpos} limits how far the string will
be searched; it will be as if the string is \var{endpos} characters
! long, so only the characters from \var{pos} to \var{endpos} will be
! searched for a match.
\end{methoddesc}
--- 669,678 ----
The optional parameter \var{endpos} limits how far the string will
be searched; it will be as if the string is \var{endpos} characters
! long, so only the characters from \var{pos} to \code{\var{endpos} -
! 1} will be searched for a match. If \var{endpos} is less than
! \var{pos}, no match will be found, otherwise, if \var{rx} is a
! compiled regular expression object,
! \code{\var{rx}.match(\var{string}, 0, 50)} is equivalent to
! \code{\var{rx}.match(\var{string}[:50], 0)}.
\end{methoddesc}