diff Doc/lib/libstring.tex @ 30937:51ebf5474f3d legacy-trunk

Patch #843088: Fix typos. Backported to 2.3.
author Martin v. Löwis <martin@v.loewis.de>
date Tue, 18 Nov 2003 19:48:57 +0000
parents e9dddfd2a62f
children dcc5c2d58f32 504943c89193
line wrap: on
line diff
--- a/Doc/lib/libstring.tex	Tue Nov 18 19:46:25 2003 +0000
+++ b/Doc/lib/libstring.tex	Tue Nov 18 19:48:57 2003 +0000
@@ -300,9 +300,9 @@
   correctly.
 \end{funcdesc}
 
-\begin{funcdesc}{replace}{str, old, new\optional{, maxsplit}}
+\begin{funcdesc}{replace}{str, old, new\optional{, maxreplace}}
   Return a copy of string \var{str} with all occurrences of substring
   \var{old} replaced by \var{new}.  If the optional argument
-  \var{maxsplit} is given, the first \var{maxsplit} occurrences are
+  \var{maxreplace} is given, the first \var{maxreplace} occurrences are
   replaced.
 \end{funcdesc}