diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-08-06 18:55:09 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-08-06 18:55:09 (GMT) |
commit | 34ed2b020afe65c0baa0490cad75bab5cbdaa550 (patch) | |
tree | 6391f40f5b22c2489c8fad4a91ee24f356126406 /Doc | |
parent | 52a21b8e65e2a231595cfec639701266202438a2 (diff) | |
download | cpython-34ed2b020afe65c0baa0490cad75bab5cbdaa550.zip cpython-34ed2b020afe65c0baa0490cad75bab5cbdaa550.tar.gz cpython-34ed2b020afe65c0baa0490cad75bab5cbdaa550.tar.bz2 |
Typo fix; use 'in-place' instead of 'inplace'
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libstdtypes.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 938dc6e..ae1ba43 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} |