Searched refs:can_be_empty_element (Results 1 – 2 of 2) sorted by relevance
104 def can_be_empty_element(self, tag_name): member in TreeBuilder
815 self.can_be_empty_element = builder.can_be_empty_element(name)817 self.can_be_empty_element = False848 return len(self.contents) == 0 and self.can_be_empty_element