Searched refs:can_be_empty_element (Results 1 – 2 of 2) sorted by relevance
101 def can_be_empty_element(self, tag_name): member in TreeBuilder
775 self.can_be_empty_element = builder.can_be_empty_element(name)777 self.can_be_empty_element = False796 return len(self.contents) == 0 and self.can_be_empty_element