diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-13 06:58:54 (GMT) |
commit | 1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch) | |
tree | 260789493c7151408f009eaa84a7815ce4d28246 /Doc/libhtmllib.tex | |
parent | dc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff) | |
download | cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2 |
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty.
Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.
Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/libhtmllib.tex')
-rw-r--r-- | Doc/libhtmllib.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/libhtmllib.tex b/Doc/libhtmllib.tex index b9b29d4..b05c470 100644 --- a/Doc/libhtmllib.tex +++ b/Doc/libhtmllib.tex @@ -4,7 +4,7 @@ \index{HTML} \index{hypertext} -\renewcommand{\indexsubitem}{(in module htmllib)} +\setindexsubitem{(in module htmllib)} This module defines a class which can serve as a base for parsing text files formatted in the HyperText Mark-up Language (HTML). The class @@ -40,10 +40,10 @@ incomplete elements are saved in a buffer. To force processing of all unprocessed data, call the \method{close()} method. For example, to parse the entire contents of a file, use: -\bcode\begin{verbatim} +\begin{verbatim} parser.feed(open('myfile.html').read()) parser.close() -\end{verbatim}\ecode +\end{verbatim} % \item The interface to define semantics for HTML tags is very simple: derive @@ -71,7 +71,7 @@ handlers for all HTML 2.0 and many HTML 3.0 and 3.2 elements. In addition to tag methods, the \class{HTMLParser} class provides some additional methods and instance variables for use within tag methods. -\renewcommand{\indexsubitem}{(HTMLParser attribute)} +\setindexsubitem{(HTMLParser attribute)} \begin{datadesc}{formatter} This is the formatter instance associated with the parser. @@ -85,7 +85,7 @@ as within a \code{<PRE>} element. The default value is false. This affects the operation of \method{handle_data()} and \method{save_end()}. \end{datadesc} -\renewcommand{\indexsubitem}{(HTMLParser method)} +\setindexsubitem{(HTMLParser method)} \begin{funcdesc}{anchor_bgn}{href\, name\, type} This method is called at the start of an anchor region. The arguments |