summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstdtypes.tex
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2005-11-25 17:17:12 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2005-11-25 17:17:12 (GMT)
commitd4bfe2c878746acbd18a62baebe72be6e24e5634 (patch)
treef1460a20f5ad0940384abd587675976944a7417b /Doc/lib/libstdtypes.tex
parent9356fb9881ac774e496f08f12a9e166c417feabe (diff)
downloadcpython-d4bfe2c878746acbd18a62baebe72be6e24e5634.zip
cpython-d4bfe2c878746acbd18a62baebe72be6e24e5634.tar.gz
cpython-d4bfe2c878746acbd18a62baebe72be6e24e5634.tar.bz2
SF patch #1364946: Add a reference link from the dcoumentation of the encode
and decode methods to the documentation of the default error handlers.
Diffstat (limited to 'Doc/lib/libstdtypes.tex')
-rw-r--r--Doc/lib/libstdtypes.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index c98322b..bf4a3b8 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -590,7 +590,7 @@ may be given to set a different error handling scheme. The default is
\code{'strict'}, meaning that encoding errors raise
\exception{UnicodeError}. Other possible values are \code{'ignore'},
\code{'replace'} and any other name registered via
-\function{codecs.register_error}.
+\function{codecs.register_error}, see section~\ref{codec-base-classes}.
\versionadded{2.2}
\versionchanged[Support for other error handling schemes added]{2.3}
\end{methoddesc}
@@ -602,7 +602,8 @@ error handling scheme. The default for \var{errors} is
\code{'strict'}, meaning that encoding errors raise a
\exception{UnicodeError}. Other possible values are \code{'ignore'},
\code{'replace'}, \code{'xmlcharrefreplace'}, \code{'backslashreplace'}
-and any other name registered via \function{codecs.register_error}.
+and any other name registered via \function{codecs.register_error},
+see section~\ref{codec-base-classes}.
For a list of possible encodings, see section~\ref{standard-encodings}.
\versionadded{2.0}
\versionchanged[Support for \code{'xmlcharrefreplace'} and