diff --git a/Lib/htmllib.py b/Lib/htmllib.py index 3288ce8860f..c5c6f09e8b4 100644 --- a/Lib/htmllib.py +++ b/Lib/htmllib.py @@ -14,6 +14,8 @@ from formatter import AS_IS class HTMLParser(SGMLParser): + from htmlentitydefs import entitydefs + def __init__(self, formatter, verbose=0): SGMLParser.__init__(self, verbose) self.formatter = formatter