mirror of
https://github.com/python/cpython.git
synced 2025-09-29 11:45:57 +00:00
Marc-Andre Lemburg <mal@lemburg.com> noted that the encode() string method
was added in 2.0.
This commit is contained in:
parent
8940fafabd
commit
1dba66cb72
1 changed files with 1 additions and 0 deletions
|
@ -425,6 +425,7 @@ error handling scheme. The default for \var{errors} is
|
||||||
\code{'strict'}, meaning that encoding errors raise a
|
\code{'strict'}, meaning that encoding errors raise a
|
||||||
\exception{ValueError}. Other possible values are \code{'ignore'} and
|
\exception{ValueError}. Other possible values are \code{'ignore'} and
|
||||||
\code{'replace'}.
|
\code{'replace'}.
|
||||||
|
\versionadded{2.0}
|
||||||
\end{methoddesc}
|
\end{methoddesc}
|
||||||
|
|
||||||
\begin{methoddesc}[string]{endswith}{suffix\optional{, start\optional{, end}}}
|
\begin{methoddesc}[string]{endswith}{suffix\optional{, start\optional{, end}}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue