commit | 65126d5a3d594adcf071360ced0fffd60ce0586b | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Sep 27 16:22:17 1995 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Sep 27 16:22:17 1995 +0000 |
tree | 25270b6b3b37cbfcfc5fddcd3a1a4ecd3041c840 | |
parent | c52c1e9b820e202f3de30faefd30ac447eabef44 [diff] [blame] |
entity definitions from HTML 2.0 std
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 @@ class HTMLParser(SGMLParser): + from htmlentitydefs import entitydefs + def __init__(self, formatter, verbose=0): SGMLParser.__init__(self, verbose) self.formatter = formatter