File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -537,14 +537,14 @@ \subsection{Sequence Types \label{typesseq}}
537537 be zero.
538538
539539\item [(6)] If \var {s} and \var {t} are both strings, some Python
540- implementations such as CPython can usally perform an inplace optimization
540+ implementations such as CPython can usually perform an in-place optimization
541541for assignments of the form \code {\var {s}=\var {s}+\var {t}} or
542542\code {\var {s}+=\var {t}}. When applicable, this optimization makes
543543quadratic run-time much less likely. This optimization is both version
544544and implementation dependent. For performance sensitive code, it is
545545preferrable to use the \method {str.join()} method which assures consistent
546546linear concatenation performance across versions and implementations.
547- \versionchanged [Formerly, string concatenation never occurred inplace ]{2.4}
547+ \versionchanged [Formerly, string concatenation never occurred in-place ]{2.4}
548548
549549\end {description }
550550
You can’t perform that action at this time.
0 commit comments