summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/htmllib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/htmllib.py b/Lib/htmllib.py
index 3288ce8..c5c6f09 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