mirror of https://github.com/python/cpython.git
This commit is contained in:
parent
cb3062e3c0
commit
dc14ab13c4
|
@ -61,6 +61,7 @@ def __init__(self, verbose=0):
|
|||
|
||||
def reset(self):
|
||||
"""Reset this instance. Loses all unprocessed data."""
|
||||
self.__starttag_text = None
|
||||
self.rawdata = ''
|
||||
self.stack = []
|
||||
self.lasttag = '???'
|
||||
|
@ -221,7 +222,6 @@ def parse_pi(self, i):
|
|||
j = match.end(0)
|
||||
return j-i
|
||||
|
||||
__starttag_text = None
|
||||
def get_starttag_text(self):
|
||||
return self.__starttag_text
|
||||
|
||||
|
|
Loading…
Reference in New Issue