code: def format_code(source, preferred_quote="'"):
      
      try:
          return _format_code(source, preferred_quote)
      except (tokenize.TokenError, IndentationError):
          return source
docs: Return source code with quotes unified.