mirror of
https://github.com/python/cpython.git
synced 2025-11-04 23:51:47 +00:00
9 lines
234 B
Python
9 lines
234 B
Python
|
|
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
|