From 8bafb2aaca1c6251af09f13bbf3aa8461b1e940f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 18 Nov 2003 19:48:57 +0000 Subject: Patch #843088: Fix typos. Backported to 2.3. --- Doc/lib/libfuncs.tex | 2 +- Doc/lib/libstring.tex | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index abafcad..a04174b 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -971,7 +971,7 @@ class C: \versionadded{2.3} \end{funcdesc} -\begin{funcdesc}{super}{type\optional{object-or-type}} +\begin{funcdesc}{super}{type\optional{, object-or-type}} Return the superclass of \var{type}. If the second argument is omitted the super object returned is unbound. If the second argument is an object, \code{isinstance(\var{obj}, \var{type})} must be true. If 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} -- cgit v0.12