code: def diffcolor(s1, s2):
      ''' --word-diff=color clone '''
      string = ''
      for line in diff(s1, s2):
          if line[0] == '-':
              string += ' ' + TermColors.red(line[2:])
          elif line[0] == '+':
              string += ' ' + TermColors.green(line[2:])
          else:
              string += ' ' + line
      return string[1:f diffcolor(s1, s2):
      ''' --word-diff=color clone '''
      string = ''
      for line in diff(s1, s2):
          if line[0] == '-':
              string += ' ' + TermColors.red(line[2:])
          elif line[0] == '+':
              string += ' ' + TermColors.green(line[2:])
          else:
              string += ' ' + line
      return string[1:]
docs: --word-diff=color clone