19.1 HTMLParser — Simple HTML and XHTML parser
Note: The HTMLParser module has been renamed to html.parser in Python 3.0.
python3里HTMLParser已经被重命名为html.parser
Deprecated since version 2.6: The sgmllib module has been removed in Python 3.0.
sgmllib在python3.0中已经被删除
19.2 html.parser — Simple HTML and XHTML parser
看The Python Library Reference Release 3.2吧,按模块索引html附近看看
这上面提到:
Another HTML parser which supports
XHTML and offers a somewhat different interface is available in the HTMLParser module.
那可能html.parser比较相近吧