html.parser.HTMLParser.handle_startendtag()

HTMLParser.handle_startendtag(tag, attrs)

Similar to handle_starttag(), but called when the parser encounters an XHTML-style empty tag (<img ... />). This method may be overridden by subclasses which require this particular lexical information; the default implementation simply calls handle_starttag() and handle_endtag().

doc_python
2016-10-07 17:33:48
Comments
Leave a Comment

Please login to continue.