summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcodecs.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libcodecs.tex')
-rw-r--r--Doc/lib/libcodecs.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libcodecs.tex b/Doc/lib/libcodecs.tex
index 5aff0dc..d435440 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