def METHOD_NAME(self, tag, attrs):
    self.tag_stack.append((tag, attrs))
    self.excluded_stack.append(self.excluded)
    if tag in excluded:
        self.excluded = self.excluded.union(excluded[tag])
    self.data_stack.append(self.data)
    self.data = []