Mercurial > cpython-lru_cache-weakref
changeset 32975:9b188158181f legacy-trunk
Typo fix; use 'in-place' instead of 'inplace'
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Fri, 06 Aug 2004 18:55:09 +0000 |
| parents | fb6ffd290cfb |
| children | 4f01894ab458 |
| files | Doc/lib/libstdtypes.tex |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Fri Aug 06 18:43:09 2004 +0000 +++ b/Doc/lib/libstdtypes.tex Fri Aug 06 18:55:09 2004 +0000 @@ -537,14 +537,14 @@ be zero. \item[(6)] If \var{s} and \var{t} are both strings, some Python -implementations such as CPython can usally perform an inplace optimization +implementations such as CPython can usually perform an in-place optimization for assignments of the form \code{\var{s}=\var{s}+\var{t}} or \code{\var{s}+=\var{t}}. When applicable, this optimization makes quadratic run-time much less likely. This optimization is both version and implementation dependent. For performance sensitive code, it is preferrable to use the \method{str.join()} method which assures consistent linear concatenation performance across versions and implementations. -\versionchanged[Formerly, string concatenation never occurred inplace]{2.4} +\versionchanged[Formerly, string concatenation never occurred in-place]{2.4} \end{description}
