PyDocs

Nav

Structured Markup Processing Tools

HTMLParser.handle_charref

  • HTMLParser.handle_charref(name)
This method is called to process decimal and hexadecimal numeric character references of the form &#NNN; and &#xNNN;. For example, the decimal equivalent for > is >, whereas the hexadecimal is >; in this case the method will receive '62' or 'x3E'. This method is only called if convert_charrefs is false.
0 Examples
No examples for html.parser/HTMLParser.handle_charref.
See Also
No see-alsos for html.parser/HTMLParser.handle_charref
0 Notes
No notes for HTMLParser.handle_charref