parameters: (value)
docstring: Converts value to a python string or, if necessary, unicode-string.
docstring_summary: Converts value to a python string or, if necessary, unicode-string.
docstring_tokens: Converts value to a python string or if necessary unicode - string .
function: def _StrOrUnicode(value):
    """Converts value to a python string or, if necessary, unicode-string."""
    try:
      return str(value)
    except UnicodeEncodeError:
      return unicode(value)
function_tokens: def _StrOrUnicode ( value ) : try : return str ( value ) except UnicodeEncodeError : return unicode ( value )