From: Skip Montanaro Date: Thu, 1 Jul 2004 19:26:04 +0000 (+0000) Subject: link to the codecs page from the "".encode() description. X-Git-Tag: v2.4a1~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecf7a52bb8139f054e024bae184244311005b90f;p=python link to the codecs page from the "".encode() description. --- diff --git a/Doc/lib/libcodecs.tex b/Doc/lib/libcodecs.tex index cc4992f925..3055cdf944 100644 --- a/Doc/lib/libcodecs.tex +++ b/Doc/lib/libcodecs.tex @@ -513,7 +513,7 @@ the \function{lookup()} function to construct the instance. \class{StreamReader} and \class{StreamWriter} classes. They inherit all other methods and attribute from the underlying stream. -\subsection{Standard Encodings} +\subsection{Standard Encodings\label{standard-encodings}} Python comes with a number of codecs builtin, either implemented as C functions, or with dictionaries as mapping tables. The following table diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 1ffea08889..5af8a7c0b4 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -578,7 +578,8 @@ default string encoding. \var{errors} may be given to set a different 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'}. +\code{'replace'}. For a list of possible encodings, see +section~\ref{standard-encodings}. \versionadded{2.0} \end{methoddesc}