Commit e48f8c01 authored by Walter Dörwald's avatar Walter Dörwald

Move introductory sentence to where it belongs.

parent 060465a2
...@@ -95,9 +95,6 @@ class or factory function. ...@@ -95,9 +95,6 @@ class or factory function.
Raises a \exception{LookupError} in case the encoding cannot be found. Raises a \exception{LookupError} in case the encoding cannot be found.
\end{funcdesc} \end{funcdesc}
To simplify working with encoded files or stream, the module
also defines these utility functions:
\begin{funcdesc}{register_error}{name, error_handler} \begin{funcdesc}{register_error}{name, error_handler}
Register the error handling function \var{error_handler} under the Register the error handling function \var{error_handler} under the
name \var{name}. \var{error_handler} will be called during encoding name \var{name}. \var{error_handler} will be called during encoding
...@@ -135,6 +132,9 @@ Implements the \code{xmlcharrefreplace} error handling. ...@@ -135,6 +132,9 @@ Implements the \code{xmlcharrefreplace} error handling.
Implements the \code{backslashreplace} error handling. Implements the \code{backslashreplace} error handling.
\end{funcdesc} \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{, \begin{funcdesc}{open}{filename, mode\optional{, encoding\optional{,
errors\optional{, buffering}}}} errors\optional{, buffering}}}}
Open an encoded file using the given \var{mode} and return Open an encoded file using the given \var{mode} and return
......
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