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

Skip to content

Commit 1dba66c

Browse files
committed
Marc-Andre Lemburg <[email protected]> noted that the encode() string method
was added in 2.0.
1 parent 8940faf commit 1dba66c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Doc/lib/libstdtypes.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ \subsubsection{String Methods \label{string-methods}}
425425
\code{'strict'}, meaning that encoding errors raise a
426426
\exception{ValueError}. Other possible values are \code{'ignore'} and
427427
\code{'replace'}.
428+
\versionadded{2.0}
428429
\end{methoddesc}
429430

430431
\begin{methoddesc}[string]{endswith}{suffix\optional{, start\optional{, end}}}

0 commit comments

Comments
 (0)