mirror of
https://github.com/python/cpython.git
synced 2025-09-18 06:30:38 +00:00
8 lines
220 B
Python
8 lines
220 B
Python
from warnings import warnpy3k
|
|
|
|
warnpy3k(("The HTMLParser module has been renamed to html.parser"
|
|
" in Python 3.0"), stacklevel=2)
|
|
|
|
from sys import modules
|
|
import html.parser
|
|
modules["HTMLParser"] = html.parser
|