parameters: (s)
return_statement: return s
docstring: Make a string unicode if it isn't already.  That way a markup
      string is not converted back to unicode.
docstring_summary: Make a string unicode if it isn't already.  That way a markup
      string is not converted back to unicode.
docstring_tokens: Make a string unicode if it isn t already . That way a markup string is not converted back to unicode .
function: def soft_unicode(s):
      """Make a string unicode if it isn't already.  That way a markup
      string is not converted back to unicode.
      """
      if not isinstance(s, text_type):
          s = text_type(s)
      return s
function_tokens: def soft_unicode ( s ) : if not isinstance ( s , text_type ) : s = text_type ( s ) return s