original_docstring: Prints the header as a line with centered text.
  
      Args:
        text: The header text.
        character: Optional header line character. The default is '*'.
      
docstring: Prints the header as a line with centered text.
docstring_tokens: Prints the header as a line with centered text .
code: def PrintHeader(self, text, character='*'):
      """Prints the header as a line with centered text.
  
      Args:
        text: The header text.
        character: Optional header line character. The default is '*'.
      """
      self._output_writer.Write(u'\n')
  
      format_string = u'{{0:{0:s}^{1:d}}}\n'.format(character, self._LINE_LENGTH)
      header_string = format_string.format(u' {0:s} '.format(text))
      self._output_writer.Write(header_string)
code_tokens: def PrintHeader ( self , text , character = '*' ) : self . _output_writer . Write ( u'\n' ) format_string = u'{{0:{0:s}^{1:d}}}\n' . format ( character , self . _LINE_LENGTH ) header_string = format_string . format ( u' {0:s} ' . format ( text ) ) self . _output_writer . Write ( header_string )
short_docstring: Prints the header as a line with centered text.
short_docstring_tokens: Prints the header as a line with centered text .
comment: """Prints the header as a line with centered text.
  
      Args:
        text: The header text.
        character: Optional header line character. The default is '*'.
      """