code: def _default_format(self, occur):
           
          if self.text or self.children:
              return self.start_tag() + "%s" + self.end_tag()
          return self.start_tag(empty=True)
docs: Return the default serialization format.