[Python-checkins] python/dist/src/Lib htmllib.py,1.19,1.20
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Fri Sep 12 12:38:02 EDT 2003
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv27873/Lib
Modified Files:
htmllib.py
Log Message:
Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.
Backported to 2.3.
Index: htmllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/htmllib.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** htmllib.py 29 May 2002 16:18:42 -0000 1.19
--- htmllib.py 12 Sep 2003 16:38:00 -0000 1.20
***************
*** 31,34 ****
--- 31,37 ----
SGMLParser.__init__(self, verbose)
self.formatter = formatter
+
+ def reset(self):
+ SGMLParser.reset(self)
self.savedata = None
self.isindex = 0
More information about the Python-checkins
mailing list