summaryrefslogtreecommitdiffstats
path: root/Lib/htmllib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/htmllib.py')
-rw-r--r--Lib/htmllib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/htmllib.py b/Lib/htmllib.py
index 6219bf0..40f6a86 100644
--- a/Lib/htmllib.py
+++ b/Lib/htmllib.py
@@ -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