mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Backported to 2.3.
This commit is contained in:
parent
1b699a5f00
commit
cbe81f2a72
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,9 @@ class HTMLParser(SGMLParser):
|
||||||
"""
|
"""
|
||||||
SGMLParser.__init__(self, verbose)
|
SGMLParser.__init__(self, verbose)
|
||||||
self.formatter = formatter
|
self.formatter = formatter
|
||||||
|
|
||||||
|
def reset(self):
|
||||||
|
SGMLParser.reset(self)
|
||||||
self.savedata = None
|
self.savedata = None
|
||||||
self.isindex = 0
|
self.isindex = 0
|
||||||
self.title = None
|
self.title = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue