Kaydet (Commit) bfb092eb authored tarafından Fred Drake's avatar Fred Drake

Misspellling: "occurance" --> "occurrence"

üst d68a4bd5
...@@ -447,7 +447,7 @@ Return the string obtained by replacing the leftmost non-overlapping ...@@ -447,7 +447,7 @@ Return the string obtained by replacing the leftmost non-overlapping
occurrences of \var{pattern} in \var{string} by the replacement occurrences of \var{pattern} in \var{string} by the replacement
\var{repl}. If the pattern isn't found, \var{string} is returned \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, 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 The function takes a single match object argument, and returns the
replacement string. For example: replacement string. For example:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment