Name
handle_endtag
Synopsis
s
.handle_endtag(tag
,method
)
Called to handle termination tags for which
X
supplies methods named
start_
tag
and
end_
tag
.
tag
is the tag string, lowercased.
method
is the bound method for
end_
tag
.
SGMLParser
’s implementation of
handle_endtag
calls
method
( )
.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.