summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstring.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-11-18 19:48:57 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-11-18 19:48:57 (GMT)
commit8bafb2aaca1c6251af09f13bbf3aa8461b1e940f (patch)
tree55d317ef2671eaa84cc61a4079850b4dbd06d6d5 /Doc/lib/libstring.tex
parent6caea370ac3e79e8295e456b566a04817eefb0fd (diff)
downloadcpython-8bafb2aaca1c6251af09f13bbf3aa8461b1e940f.zip
cpython-8bafb2aaca1c6251af09f13bbf3aa8461b1e940f.tar.gz
cpython-8bafb2aaca1c6251af09f13bbf3aa8461b1e940f.tar.bz2
Patch #843088: Fix typos. Backported to 2.3.
Diffstat (limited to 'Doc/lib/libstring.tex')
-rw-r--r--Doc/lib/libstring.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libstring.tex b/Doc/lib/libstring.tex
index 6c3dc4d..3f902cf 100644
--- a/Doc/lib/libstring.tex
+++ b/Doc/lib/libstring.tex
@@ -300,9 +300,9 @@ parameter cannot be passed in earlier 2.2 versions]{2.2.3}
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}