Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34ed2b0

Browse files
committed
Typo fix; use 'in-place' instead of 'inplace'
1 parent 52a21b8 commit 34ed2b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/lib/libstdtypes.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
541541
for assignments of the form \code{\var{s}=\var{s}+\var{t}} or
542542
\code{\var{s}+=\var{t}}. When applicable, this optimization makes
543543
quadratic run-time much less likely. This optimization is both version
544544
and implementation dependent. For performance sensitive code, it is
545545
preferrable to use the \method{str.join()} method which assures consistent
546546
linear 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

0 commit comments

Comments
 (0)