bundles / IPython 9.14.0 / IPython / utils / py3compat / safe_unicode
function
IPython.utils.py3compat:safe_unicode
Signature
def safe_unicode(e)Summary
unicode(e) with various fallbacks. Used for exceptions, which may not be safe to call unicode() on.
Aliases
IPython.utils.py3compat.safe_unicode