Kaydet (Commit) ecf7a52b authored tarafından Skip Montanaro's avatar Skip Montanaro

link to the codecs page from the "".encode() description.

üst d7cc1bd8
......@@ -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
......
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment