(original) (raw)
Index: libhtmlparser.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libhtmlparser.tex,v retrieving revision 1.2 diff -u -r1.2 libhtmlparser.tex --- libhtmlparser.tex 5 Jul 2001 16:34:36 -0000 1.2 +++ libhtmlparser.tex 31 Mar 2003 03:08:22 -0000 @@ -123,6 +123,14 @@ by a derived class; the base class implementation does nothing. \end{methoddesc} +\begin{methoddesc}{handle_pi}{data} +Method called when a processing instruction is encountered. The \var{data} +parameter will contain the entire processing instruction. For instance, for +the pi \code{}, this method would be called as +\samp{handle_pi('version=''1.0''')}. It is intended to be overridden +by a derived class; the case class implementation does nothing. +\end{methoddesc} + \subsection{Example HTML Parser \label{htmlparser-example}}