]> granicus.if.org Git - python/commitdiff
Typo fix; use 'in-place' instead of 'inplace'
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 6 Aug 2004 18:55:09 +0000 (18:55 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 6 Aug 2004 18:55:09 +0000 (18:55 +0000)
Doc/lib/libstdtypes.tex

index 938dc6ed473f6cc9b8b9f0da247c1fd1d6a667d5..ae1ba43503b432cfb23fb57f8d604ce3c39c03d3 100644 (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}