Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5a5e1d32
Commit
5a5e1d32
authored
Mar 16, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation for SGMLParser.handle_decl().
parent
564e3e5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Doc/lib/libsgmllib.tex
Doc/lib/libsgmllib.tex
+10
-0
No files found.
Doc/lib/libsgmllib.tex
View file @
5a5e1d32
...
...
@@ -145,6 +145,16 @@ cause this method to be called with the argument \code{'text'}. The
default method does nothing.
\end{methoddesc}
\begin{methoddesc}
{
handle
_
decl
}{
data
}
Method called when an SGML declaration is read by the parser. In
practice, the
\code
{
DOCTYPE
}
declaration is the only thing observed in
HTML, but the parser does not discriminate among different (or broken)
declarations. Internal subsets in a
\code
{
DOCTYPE
}
declaration are
not supported. The
\var
{
data
}
parameter will be the entire contents
of the declaration inside the
\code
{
<!
}
...
\code
{
>
}
markup. The
default implementation does nothing.
\end{methoddesc}
\begin{methoddesc}
{
report
_
unbalanced
}{
tag
}
This method is called when an end tag is found which does not
correspond to any open element.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment