Typo fix
This commit is contained in:
parent
2330e9eed9
commit
c28dd1faa5
|
@ -1313,7 +1313,7 @@ Another common task is deleting every occurrence of a single character
|
|||
from a string or replacing it with another single character. You
|
||||
might do this with something like \code{re.sub('\e n', ' ', S)}, but
|
||||
\method{translate()} is capable of doing both tasks
|
||||
and will be faster that any regular expression operation can be.
|
||||
and will be faster than any regular expression operation can be.
|
||||
|
||||
In short, before turning to the \module{re} module, consider whether
|
||||
your problem can be solved with a faster and simpler string method.
|
||||
|
|
Loading…
Reference in New Issue