original_docstring: Prints a value with a name and description aligned to the column length.
  
      Args:
        name: The name.
        description: The description.
        column_length: Optional column length. The default is 25.
      
docstring: Prints a value with a name and description aligned to the column length.
docstring_tokens: Prints a value with a name and description aligned to the column length .
code: def PrintColumnValue(self, name, description, column_length=25):
      """Prints a value with a name and description aligned to the column length.
  
      Args:
        name: The name.
        description: The description.
        column_length: Optional column length. The default is 25.
      """
      line_length = self._LINE_LENGTH - column_length - 3
  
      # The format string of the first line of the column value.
      primary_format_string = u'{{0:>{0:d}s}} : {{1:s}}\n'.format(column_length)
  
      # The format string of successive lines of the column value.
      secondary_format_string = u'{{0:<{0:d}s}}{{1:s}}\n'.format(
          column_length + 3)
  
      if len(description) < line_length:
        self._output_writer.Write(primary_format_string.format(name, description))
        return
  
      # Split the description in words.
      words = description.split()
  
      current = 0
  
      lines = []
      word_buffer = []
      for word in words:
        current += len(word) + 1
        if current >= line_length:
          current = len(word)
          lines.append(u' '.join(word_buffer))
          word_buffer = [word]
        else:
          word_buffer.append(word)
      lines.append(u' '.join(word_buffer))
  
      # Print the column value on multiple lines.
      self._output_writer.Write(primary_format_string.format(name, lines[0]))
      for line in lines[1:]:
        self._output_writer.Write(secondary_format_string.format(u'', line))
code_tokens: def PrintColumnValue ( self , name , description , column_length = 25 ) : line_length = self . _LINE_LENGTH - column_length - 3 primary_format_string = u'{{0:>{0:d}s}} : {{1:s}}\n' . format ( column_length ) secondary_format_string = u'{{0:<{0:d}s}}{{1:s}}\n' . format ( column_length + 3 ) if len ( description ) < line_length : self . _output_writer . Write ( primary_format_string . format ( name , description ) ) return words = description . split ( ) current = 0 lines = [ ] word_buffer = [ ] for word in words : current += len ( word ) + 1 if current >= line_length : current = len ( word ) lines . append ( u' ' . join ( word_buffer ) ) word_buffer = [ word ] else : word_buffer . append ( word ) lines . append ( u' ' . join ( word_buffer ) ) self . _output_writer . Write ( primary_format_string . format ( name , lines [ 0 ] ) ) for line in lines [ 1 : ] : self . _output_writer . Write ( secondary_format_string . format ( u'' , line ) )
short_docstring: Prints a value with a name and description aligned to the column length.
short_docstring_tokens: Prints a value with a name and description aligned to the column length .
comment: """Prints a value with a name and description aligned to the column length.
  
      Args:
        name: The name.
        description: The description.
        column_length: Optional column length. The default is 25.
      """$SEP$# The format string of the first line of the column value.$SEP$# The format string of successive lines of the column value.$SEP$# Split the description in words.$SEP$# Print the column value on multiple lines.