\modulesynopsis{An interface to the curses library.}
\versionadded{1.6}
-The \module{curses} module provides an interface to the curses \UNIX{}
+The \module{curses} module provides an interface to the curses
library, the de-facto standard for portable advanced terminal
handling.
are available for DOS, OS/2, and possibly other systems as well. This
extension module is designed to match the API of ncurses, an
open-source curses library hosted on Linux and the BSD variants of
-Unix.
+\UNIX.
\begin{seealso}
\seemodule{curses.ascii}{Utilities for working with \ASCII{}
\seemodule{curses.wrapper}{Convenience function to ensure proper
terminal setup and resetting on
application entry and exit.}
- \seetext{Tutorial material on using curses with Python is available
- on the Python Web site as Andrew Kuchling's
-\citetitle[http://www.python.org/doc/howto/curses/curses.html]{Curses
- Programming with Python}, at
- \url{http://www.python.org/doc/howto/curses/curses.html}.}
+ \seetitle[http://www.python.org/doc/howto/curses/curses.html]{Curses
+ Programming with Python}{Tutorial material on using curses
+ with Python, by Andrew Kuchling, is available on the
+ Python Web site.}
\end{seealso}
</root>
\end{verbatim}
-\function{StartElementHandler()} will receive the following strings for each element:
+\function{StartElementHandler()} will receive the following strings
+for each element:
\begin{verbatim}
http://default-namespace.org/ root
\method{SetBase()} hasn't been called.
\end{methoddesc}
-\class{xmlparser} objects have the following attributes.
+\class{xmlparser} objects have the following attributes:
\begin{datadesc}{returns_unicode}
If this attribute is set to 1, the handler functions will be passed
Called for character data.
\end{methoddesc}
-\begin{methoddesc}{UnparsedEntityDeclHandler}{entityName, base, systemId, publicId, notationName}
+\begin{methoddesc}{UnparsedEntityDeclHandler}{entityName, base,
+ systemId, publicId,
+ notationName}
Called for unparsed (NDATA) entity declarations.
\end{methoddesc}
-\begin{methoddesc}{NotationDeclHandler}{notationName, base, systemId, publicId}
+\begin{methoddesc}{NotationDeclHandler}{notationName, base, systemId,
+ publicId}
Called for notation declarations.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}{NotStandaloneHandler}{}
-Called if the XML document hasn't been declared as being a standalone document.
+Called if the XML document hasn't been declared as being a standalone
+document.
\end{methoddesc}
-\begin{methoddesc}{ExternalEntityRefHandler}{context, base, systemId, publicId}
+\begin{methoddesc}{ExternalEntityRefHandler}{context, base, systemId,
+ publicId}
Called for references to external entities.
\end{methoddesc}