html.parser.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 never called if convert_charrefs is True.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.