mirror of
https://github.com/python/cpython.git
synced 2026-01-25 08:42:15 +00:00
9 lines
220 B
Python
9 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
|