'Reset this instance. Loses all unprocessed data.'

def reset(self):

    self.__starttag_text = None
    self.rawdata = ''
    self.stack = []
    self.lasttag = '???'
    self.nomoretags = 0
    self.literal = 0
    markupbase.ParserBase.reset(self)
