You are viewing an older version (9.5.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.5.0 / IPython / core / interactiveshell / InteractiveShell / _get_exc_info

function

IPython.core.interactiveshell:InteractiveShell._get_exc_info

source: /IPython/core/interactiveshell.py :2091

Signature

def   _get_exc_info ( self exc_tuple = None )

Summary

get exc_info from a given tuple, sys.exc_info() or sys.last_type etc.

Extended Summary

Ensures sys.last_type,value,traceback hold the exc_info we found, from whichever source.

raises ValueError if none of these contain any information

Aliases

  • IPython.InteractiveShell._get_exc_info