/ HappyDoc3-r3_1 / happydoclib / docset / docset_TAL / TAL / ustr.py
_exception_str ( exc )
ustr ( v )
Convert any object to a plain string or unicode string, minimising the chance of raising a UnicodeError. This even works with uncooperative objects like Exceptions
ValueError( '__str__ returned wrong type' )