Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.
Backported to 2.3.
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 @@
         """
         SGMLParser.__init__(self, verbose)
         self.formatter = formatter
+
+    def reset(self):
+        SGMLParser.reset(self)
         self.savedata = None
         self.isindex = 0
         self.title = None