original_docstring: 
      Formats text into a column of specified width. If a line is too long,
      it will be broken on a word boundary. The new lines will have the same
      number of leading spaces as the original line.
  
      Note: this will not attempt to join up lines that are too short.
  
      
docstring: Formats text into a column of specified width. If a line is too long,
  it will be broken on a word boundary. The new lines will have the same
  number of leading spaces as the original line.
  
  this will not attempt to join up lines that are too short.
docstring_tokens: Formats text into a column of specified width . If a line is too long it will be broken on a word boundary . The new lines will have the same number of leading spaces as the original line . this will not attempt to join up lines that are too short .
code: def format_column(text, width):
      """
      Formats text into a column of specified width. If a line is too long,
      it will be broken on a word boundary. The new lines will have the same
      number of leading spaces as the original line.
  
      Note: this will not attempt to join up lines that are too short.
  
      """
      formatted = []
      for line in text.split('\n'):
          line_len = len(line)
          if line_len <= width:
              formatted.append(line)
          else:
              words = line.split(' ')
              new_line = words.pop(0)
              while words:
                  next_word = words.pop(0)
                  if (len(new_line) + len(next_word) + 1) < width:
                      new_line += ' ' + next_word
                  else:
                      formatted.append(new_line)
                      new_line = ' ' * count_leading_spaces(new_line) + next_word
              formatted.append(new_line)
      return '\n'.join(formatted)
code_tokens: def format_column ( text , width ) : formatted = [ ] for line in text . split ( '\n' ) : line_len = len ( line ) if line_len <= width : formatted . append ( line ) else : words = line . split ( ' ' ) new_line = words . pop ( 0 ) while words : next_word = words . pop ( 0 ) if ( len ( new_line ) + len ( next_word ) + 1 ) < width : new_line += ' ' + next_word else : formatted . append ( new_line ) new_line = ' ' * count_leading_spaces ( new_line ) + next_word formatted . append ( new_line ) return '\n' . join ( formatted )
short_docstring: Formats text into a column of specified width.
short_docstring_tokens: Formats text into a column of specified width .
comment: """
      Formats text into a column of specified width. If a line is too long,
      it will be broken on a word boundary. The new lines will have the same
      number of leading spaces as the original line.
  
      Note: this will not attempt to join up lines that are too short.
  
      """