]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Patch #843088: Fix typos.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 18 Nov 2003 19:48:41 +0000 (19:48 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 18 Nov 2003 19:48:41 +0000 (19:48 +0000)
Doc/lib/libfuncs.tex
Doc/lib/libstring.tex

index c694e8321e79176f4f708a789cda0ce71058323a..78ed64709bba05c186f0aeedaaf55c473a615258 100644 (file)
@@ -944,7 +944,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
index 6c3dc4dc21d7e190c2c4dd3d2896afd5870e77cd..3f902cf8403fd13c7ca6101906fcce8337558f19 100644 (file)
@@ -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}