mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
(libhtmllib.tex, libsgmllib.tex, libformatter.tex):
Improve indexing somewhat. Add small intros to the "implementations" sections of the formatter module doc.
This commit is contained in:
parent
7edd8d3c58
commit
8f925959c6
6 changed files with 58 additions and 12 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue