Marc-Andre Lemburg <mal@lemburg.com> noted that the encode() string method

was added in 2.0.
This commit is contained in:
Fred Drake 2000-10-25 21:03:55 +00:00
parent 8940fafabd
commit 1dba66cb72
1 changed files with 1 additions and 0 deletions

View File

@ -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}}}