summaryrefslogtreecommitdiffstats
path: root/Doc/libsgmllib.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-10-09 16:13:22 (GMT)
committerFred Drake <fdrake@acm.org>1996-10-09 16:13:22 (GMT)
commit8f925959c67cd61b71c8009e89c64b673effee91 (patch)
tree3828c10b751370aa6267344512c3308759098737 /Doc/libsgmllib.tex
parent7edd8d3c58341ed900795f35c780d04648a56539 (diff)
downloadcpython-8f925959c67cd61b71c8009e89c64b673effee91.zip
cpython-8f925959c67cd61b71c8009e89c64b673effee91.tar.gz
cpython-8f925959c67cd61b71c8009e89c64b673effee91.tar.bz2
(libhtmllib.tex, libsgmllib.tex, libformatter.tex):
Improve indexing somewhat. Add small intros to the "implementations" sections of the formatter module doc.
Diffstat (limited to 'Doc/libsgmllib.tex')
-rw-r--r--Doc/libsgmllib.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/libsgmllib.tex b/Doc/libsgmllib.tex
index 23d8504..dc3582b 100644
--- a/Doc/libsgmllib.tex
+++ b/Doc/libsgmllib.tex
@@ -2,13 +2,11 @@
\stmodindex{sgmllib}
\index{SGML}
-\renewcommand{\indexsubitem}{(in module sgmllib)}
-
This module defines a class \code{SGMLParser} which serves as the
basis for parsing text files formatted in SGML (Standard Generalized
Mark-up Language). In fact, it does not provide a full SGML parser
---- it only parses SGML insofar as it is used by HTML, and the module only
-exists as a basis for the \code{htmllib} module.
+--- it only parses SGML insofar as it is used by HTML, and the module
+only exists as a base for the \code{htmllib} module.
\stmodindex{htmllib}
In particular, the parser is hardcoded to recognize the following
@@ -37,6 +35,8 @@ spaces, tabs, and newlines are allowed between the trailing
The \code{SGMLParser} class must be instantiated without arguments.
It has the following interface methods:
+\renewcommand{\indexsubitem}{({\tt SGMLParser} method)}
+
\begin{funcdesc}{reset}{}
Reset the instance. Loses all unprocessed data. This is called
implicitly at instantiation time.