]> granicus.if.org Git - python/commitdiff
link to the codecs page from the "".encode() description.
authorSkip Montanaro <skip@pobox.com>
Thu, 1 Jul 2004 19:26:04 +0000 (19:26 +0000)
committerSkip Montanaro <skip@pobox.com>
Thu, 1 Jul 2004 19:26:04 +0000 (19:26 +0000)
Doc/lib/libcodecs.tex
Doc/lib/libstdtypes.tex

index cc4992f925ced1b877e5eb4cb39dd52cd056b51d..3055cdf944a54bc385566a658757a38e414ff1c6 100644 (file)
@@ -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
index 1ffea08889eb8fd4cb3c2f372efd0561e7f47edd..5af8a7c0b4918b63fd50857d8ce9a49d4bf8e5b4 100644 (file)
@@ -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}