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

Patch #793559: Reset __starttext_tag. Fixes #709491. Backported to 2.3.

üst cb3062e3
......@@ -61,6 +61,7 @@ class SGMLParser(markupbase.ParserBase):
def reset(self):
"""Reset this instance. Loses all unprocessed data."""
self.__starttag_text = None
self.rawdata = ''
self.stack = []
self.lasttag = '???'
......@@ -221,7 +222,6 @@ class SGMLParser(markupbase.ParserBase):
j = match.end(0)
return j-i
__starttag_text = None
def get_starttag_text(self):
return self.__starttag_text
......
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