format_exception_only() Format the exception part of the traceback. The return value is a generator
msg For syntax errors - the compiler error message.
__cause__ A TracebackException of the original __cause__.
inspect.istraceback(object) Return true if the object is a traceback.
sys.version_info A tuple containing the five components of the version number: major, minor, micro
inspect.isgenerator(object) Return true if the object is a generator.
@contextlib.contextmanager This function is a decorator that can be used to define a
inspect.trace(context=1) Return a list of frame records for the stack between the current frame and the frame in which an exception
replace(*[, parameters][, return_annotation]) Create a new Signature instance based on the instance replace was invoked on.
sys.exit([arg]) Exit from Python. This is implemented by raising the
Page 16 of 26