code: def output(self, to=None, *args, **kwargs):
          '''Outputs to a stream (like a file or request)'''
          to.write(self.start_tag)
          if not self.tag_self_closes:
              to.write(self.end_tagf output(self, to=None, *args, **kwargs):
          '''Outputs to a stream (like a file or request)'''
          to.write(self.start_tag)
          if not self.tag_self_closes:
              to.write(self.end_tag)
docs: Outputs to a stream (like a file or request)