summaryrefslogtreecommitdiffstats
path: root/Lib/lib-old/htmlentitydefs.py
blob: 340b6234ed36fef1920f7184aee2bdaa02f78703 (plain)
1
2
3
4
5
6
7
8
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