[Python-checkins] commit of r41544 - python/branches/release24-maint/Doc/lib

walter.doerwald@python.org walter.doerwald at python.org
Fri Nov 25 18:18:59 CET 2005


Author: walter.doerwald
Date: Fri Nov 25 18:18:54 2005
New Revision: 41544

Modified:
   python/branches/release24-maint/Doc/lib/libcodecs.tex
   python/branches/release24-maint/Doc/lib/libstdtypes.tex
Log:
Backport checkin:
SF patch #1364946: Add a reference link from the dcoumentation of the encode
and decode methods to the documentation of the default error handlers.


Modified: python/branches/release24-maint/Doc/lib/libcodecs.tex
==============================================================================
--- python/branches/release24-maint/Doc/lib/libcodecs.tex	(original)
+++ python/branches/release24-maint/Doc/lib/libcodecs.tex	Fri Nov 25 18:18:54 2005
@@ -212,7 +212,7 @@
 \end{datadesc}
 
 
-\subsection{Codec Base Classes}
+\subsection{Codec Base Classes \label{codec-base-classes}}
 
 The \module{codecs} module defines a set of base classes which define the
 interface and can also be used to easily write you own codecs for use

Modified: python/branches/release24-maint/Doc/lib/libstdtypes.tex
==============================================================================
--- python/branches/release24-maint/Doc/lib/libstdtypes.tex	(original)
+++ python/branches/release24-maint/Doc/lib/libstdtypes.tex	Fri Nov 25 18:18:54 2005
@@ -590,7 +590,7 @@
 \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 @@
 \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


More information about the Python-checkins mailing list