mirror of
https://github.com/python/cpython.git
synced 2024-11-30 18:51:15 +01:00
get_starttag_text(): Document this method.
This commit is contained in:
parent
0ea1fc8acf
commit
25e7cee1c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user