cpython/Lib/lib-old/htmlentitydefs.py

9 lines
234 B
Python
Raw Normal View History

from warnings import warnpy3k
warnpy3k(("The htmlentitydefs module has been renamed to html.entities"
" in Python 3.0"), stacklevel=2)
from sys import modules
import html.entities
modules["htmlentitydefs"] = html.entities