mirror of
https://github.com/python/cpython.git
synced 2024-12-02 06:14:49 +08:00
entity definitions from HTML 2.0 std
This commit is contained in:
parent
c52c1e9b82
commit
65126d5a3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user