def __init__(self, form): HTMLParser.__init__(self) self.form = form self.__text = "" self.__tags = {} self.__stack = []