mirror of
https://github.com/python/cpython.git
synced 2026-01-04 06:22:20 +00:00
Misspellling: "occurance" --> "occurrence"
This commit is contained in:
parent
d68a4bd56c
commit
bfb092eb86
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue