summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcodecs.tex
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2002-11-02 13:32:07 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2002-11-02 13:32:07 (GMT)
commit1a7a894d905f6d2239e288178bf769c5e8e8acfc (patch)
treebf2763d641cfb137ffec61d33ebc6d113a32fbe7 /Doc/lib/libcodecs.tex
parentbfcd6533e42988e2b6ca0097e4998e9124860b7f (diff)
downloadcpython-1a7a894d905f6d2239e288178bf769c5e8e8acfc.zip
cpython-1a7a894d905f6d2239e288178bf769c5e8e8acfc.tar.gz
cpython-1a7a894d905f6d2239e288178bf769c5e8e8acfc.tar.bz2
Move introductory sentence to where it belongs.
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