Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstring.tex @ 30936:8941f2ee9094 2.3
Patch #843088: Fix typos.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Tue, 18 Nov 2003 19:48:41 +0000 |
| parents | e9dddfd2a62f |
| children | dcc5c2d58f32 504943c89193 |
line wrap: on
line diff
--- a/Doc/lib/libstring.tex Sun Nov 16 13:45:21 2003 +0000 +++ b/Doc/lib/libstring.tex Tue Nov 18 19:48:41 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}
