def handle_starttag(self, tag, method, attributes): self.flush_data() SGMLParser.handle_starttag(self, tag, method, attributes)
def handle_starttag(self, tag, method, attributes): SGMLParser.handle_starttag(self, tag, method, attributes) self.stack.append(tag)