summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsgmllib.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-07-03 14:32:04 (GMT)
committerFred Drake <fdrake@acm.org>2000-07-03 14:32:04 (GMT)
commit25e7cee1c88590d7cf23f0a0da02e08f238849a5 (patch)
treeddeee59f5cf8d701c54d85af5caa8afb074f2685 /Doc/lib/libsgmllib.tex
parent0ea1fc8acf33bdbfe578d8ccaba6e030da6bde40 (diff)
downloadcpython-25e7cee1c88590d7cf23f0a0da02e08f238849a5.zip
cpython-25e7cee1c88590d7cf23f0a0da02e08f238849a5.tar.gz
cpython-25e7cee1c88590d7cf23f0a0da02e08f238849a5.tar.bz2
get_starttag_text(): Document this method.
Diffstat (limited to 'Doc/lib/libsgmllib.tex')
-rw-r--r--Doc/lib/libsgmllib.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libsgmllib.tex b/Doc/lib/libsgmllib.tex
index e441c12..5a644b6 100644
--- a/Doc/lib/libsgmllib.tex
+++ b/Doc/lib/libsgmllib.tex
@@ -70,6 +70,14 @@ define additional processing at the end of the input, but the
redefined version should always call \method{close()}.
\end{methoddesc}
+\begin{methoddesc}{get_starttag_text}{}
+Return the text of the most recently opened start tag. This should
+not normally be needed for structured processing, but may be useful in
+dealing with HTML ``as deployed'' or for re-generating input with
+minimal changes (whitespace between attributes can be preserved,
+etc.).
+\end{methoddesc}
+
\begin{methoddesc}{handle_starttag}{tag, method, attributes}
This method is called to handle start tags for which either a
\method{start_\var{tag}()} or \method{do_\var{tag}()} method has been