Traceback module methods

Report a typo

Match the traceback methods below with their explanation.

Match the items from left and right columns
print_exception
extract_tb
format_exception_only
Accepts a traceback object as a parameter and returns a list of stack entries extracted from the traceback object
Takes exc_type and exc_value as input, returns a list of strings that describe the exception
Takes exc_type, exc_value, and exc_traceback as arguments and prints out the exception information as well as the error stack trace
___

Create a free account to access the full topic