Kaydet (Commit) cbe81f2a authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.

Backported to 2.3.
üst 1b699a5f
......@@ -30,6 +30,9 @@ class HTMLParser(SGMLParser):
"""
SGMLParser.__init__(self, verbose)
self.formatter = formatter
def reset(self):
SGMLParser.reset(self)
self.savedata = None
self.isindex = 0
self.title = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment