Fred Drake | 91ae250 | 2008-05-17 20:30:04 +0000 | [diff] [blame] | 1 | from warnings import warnpy3k |
2 | |||||
3 | warnpy3k(("The htmlentitydefs module has been renamed to html.entities" | ||||
4 | " in Python 3.0"), stacklevel=2) | ||||
5 | |||||
6 | from sys import modules | ||||
7 | import html.entities | ||||
8 | modules["htmlentitydefs"] = html.entities |