From: Walter Dörwald Date: Sat, 2 Nov 2002 13:32:07 +0000 (+0000) Subject: Move introductory sentence to where it belongs. X-Git-Tag: v2.3c1~3619 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a7a894d905f6d2239e288178bf769c5e8e8acfc;p=thirdparty%2FPython%2Fcpython.git Move introductory sentence to where it belongs. --- diff --git a/Doc/lib/libcodecs.tex b/Doc/lib/libcodecs.tex index 5aff0dcd40c9..d4354401cb83 100644 --- a/Doc/lib/libcodecs.tex +++ b/Doc/lib/libcodecs.tex @@ -95,9 +95,6 @@ class or factory function. Raises a \exception{LookupError} in case the encoding cannot be found. \end{funcdesc} -To simplify working with encoded files or stream, the module -also defines these utility functions: - \begin{funcdesc}{register_error}{name, error_handler} Register the error handling function \var{error_handler} under the name \var{name}. \var{error_handler} will be called during encoding @@ -135,6 +132,9 @@ Implements the \code{xmlcharrefreplace} error handling. Implements the \code{backslashreplace} error handling. \end{funcdesc} +To simplify working with encoded files or stream, the module +also defines these utility functions: + \begin{funcdesc}{open}{filename, mode\optional{, encoding\optional{, errors\optional{, buffering}}}} Open an encoded file using the given \var{mode} and return