summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-09-27 16:22:17 (GMT)
committerGuido van Rossum <guido@python.org>1995-09-27 16:22:17 (GMT)
commit65126d5a3d594adcf071360ced0fffd60ce0586b (patch)
tree25270b6b3b37cbfcfc5fddcd3a1a4ecd3041c840
parentc52c1e9b820e202f3de30faefd30ac447eabef44 (diff)
downloadcpython-65126d5a3d594adcf071360ced0fffd60ce0586b.zip
cpython-65126d5a3d594adcf071360ced0fffd60ce0586b.tar.gz
cpython-65126d5a3d594adcf071360ced0fffd60ce0586b.tar.bz2
entity definitions from HTML 2.0 std
-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