[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex, 1.137, 1.138

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Tue Oct 21 22:56:42 EDT 2003


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

Modified Files:
	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.137
retrieving revision 1.138
diff -C2 -d -r1.137 -r1.138
*** libstdtypes.tex	21 Oct 2003 17:04:21 -0000	1.137
--- libstdtypes.tex	22 Oct 2003 02:56:40 -0000	1.138
***************
*** 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