[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex, 1.129.8.6, 1.129.8.7

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Tue Oct 21 22:57:25 EDT 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv14483/Doc/lib

Modified Files:
      Tag: release23-maint
	libstdtypes.tex 
Log Message:
Avoid confusing name for the 3rd argument to str.replace().
This closes SF bug #827260.


Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.129.8.6
retrieving revision 1.129.8.7
diff -C2 -d -r1.129.8.6 -r1.129.8.7
*** libstdtypes.tex	18 Oct 2003 09:54:38 -0000	1.129.8.6
--- libstdtypes.tex	22 Oct 2003 02:57:23 -0000	1.129.8.7
***************
*** 564,568 ****
  \code{'strict'}, meaning that encoding errors raise
  \exception{ValueError}.  Other possible values are \code{'ignore'} and
! \code{replace'}.
  \versionadded{2.2}
  \end{methoddesc}
--- 564,568 ----
  \code{'strict'}, meaning that encoding errors raise
  \exception{ValueError}.  Other possible values are \code{'ignore'} and
! \code{'replace'}.
  \versionadded{2.2}
  \end{methoddesc}
***************
*** 665,672 ****
  \end{methoddesc}
  
! \begin{methoddesc}[string]{replace}{old, new\optional{, maxsplit}}
  Return a copy of the string with all occurrences of substring
  \var{old} replaced by \var{new}.  If the optional argument
! \var{maxsplit} is given, only the first \var{maxsplit} occurrences are
  replaced.
  \end{methoddesc}
--- 665,672 ----
  \end{methoddesc}
  
! \begin{methoddesc}[string]{replace}{old, new\optional{, count}}
  Return a copy of the string with all occurrences of substring
  \var{old} replaced by \var{new}.  If the optional argument
! \var{count} is given, only the first \var{count} occurrences are
  replaced.
  \end{methoddesc}





More information about the Python-checkins mailing list