code: def black_invariant(text, chars=None):
      
      if chars is None:
          chars = [' ', '\t', '\n', ',', "'", '"', '(', ')', '\\']
  
      for char in chars:
          text = text.replace(char, '')
      return text
docs: Remove characters that may be changed when reformatting the text with black