From: Andrew M. Kuchling Date: Fri, 6 Aug 2004 18:55:09 +0000 (+0000) Subject: Typo fix; use 'in-place' instead of 'inplace' X-Git-Tag: v2.4a3~396 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34ed2b020afe65c0baa0490cad75bab5cbdaa550;p=python Typo fix; use 'in-place' instead of 'inplace' --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 938dc6ed47..ae1ba43503 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -537,14 +537,14 @@ In Python 2.3 and beyond, \var{x} may be a string of any length. 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}