entity definitions from HTML 2.0 std

This commit is contained in:
Guido van Rossum 1995-09-27 16:22:17 +00:00
parent c52c1e9b82
commit 65126d5a3d
1 changed files with 2 additions and 0 deletions

View File

@ -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