mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
get_starttag_text(): Document this method.
This commit is contained in:
parent
0ea1fc8acf
commit
25e7cee1c8
1 changed files with 8 additions and 0 deletions
|
|
@ -70,6 +70,14 @@ define additional processing at the end of the input, but the
|
||||||
redefined version should always call \method{close()}.
|
redefined version should always call \method{close()}.
|
||||||
\end{methoddesc}
|
\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}
|
\begin{methoddesc}{handle_starttag}{tag, method, attributes}
|
||||||
This method is called to handle start tags for which either a
|
This method is called to handle start tags for which either a
|
||||||
\method{start_\var{tag}()} or \method{do_\var{tag}()} method has been
|
\method{start_\var{tag}()} or \method{do_\var{tag}()} method has been
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue