PyDocs

Nav

Structured Markup Processing Tools

HTMLParser.handle_pi

  • HTMLParser.handle_pi(data)
Method called when a processing instruction is encountered. The data parameter will contain the entire processing instruction. For example, for the processing instruction <?proc color='red'>, this method would be called as handle_pi("proc color='red'"). It is intended to be overridden by a derived class; the base class implementation does nothing.
0 Examples
No examples for html.parser/HTMLParser.handle_pi.
See Also
No see-alsos for html.parser/HTMLParser.handle_pi
0 Notes
No notes for HTMLParser.handle_pi