]> granicus.if.org Git - python/commitdiff
Marc-Andre Lemburg <mal@lemburg.com> noted that the encode() string method
authorFred Drake <fdrake@acm.org>
Wed, 25 Oct 2000 21:03:55 +0000 (21:03 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 25 Oct 2000 21:03:55 +0000 (21:03 +0000)
was added in 2.0.

Doc/lib/libstdtypes.tex

index 9a2b53127cc57587ac0b0b418bdb55d0995aba56..fcee52f8d3a88311ca45316970eea62ae3d9c5e5 100644 (file)
@@ -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}}}