Typo fix; use 'in-place' instead of 'inplace'

This commit is contained in:
Andrew M. Kuchling 2004-08-06 18:55:09 +00:00
parent 52a21b8e65
commit 34ed2b020a
1 changed files with 2 additions and 2 deletions

View File

@ -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}