From: Fred Drake Date: Wed, 25 Oct 2000 21:03:55 +0000 (+0000) Subject: Marc-Andre Lemburg noted that the encode() string method X-Git-Tag: v2.1a1~813 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1dba66cb72b99b8a774c43b09922b2e9c86d91c3;p=python Marc-Andre Lemburg noted that the encode() string method was added in 2.0. --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 9a2b53127c..fcee52f8d3 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -425,6 +425,7 @@ error handling scheme. The default for \var{errors} is \code{'strict'}, meaning that encoding errors raise a \exception{ValueError}. Other possible values are \code{'ignore'} and \code{'replace'}. +\versionadded{2.0} \end{methoddesc} \begin{methoddesc}[string]{endswith}{suffix\optional{, start\optional{, end}}}