From: Fred Drake Date: Fri, 9 Apr 1999 19:57:09 +0000 (+0000) Subject: Misspellling: "occurance" --> "occurrence" X-Git-Tag: v1.5.2~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfb092eb86065cfe5019b2429ebcc0bc6247e80e;p=thirdparty%2FPython%2Fcpython.git Misspellling: "occurance" --> "occurrence" --- diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex index 7c7d177133c9..b9f5f32a4ea5 100644 --- a/Doc/lib/libre.tex +++ b/Doc/lib/libre.tex @@ -447,7 +447,7 @@ Return the string obtained by replacing the leftmost non-overlapping occurrences of \var{pattern} in \var{string} by the replacement \var{repl}. If the pattern isn't found, \var{string} is returned unchanged. \var{repl} can be a string or a function; if a function, -it is called for every non-overlapping occurance of \var{pattern}. +it is called for every non-overlapping occurrence of \var{pattern}. The function takes a single match object argument, and returns the replacement string. For example: