Match the traceback methods below with their explanation.
Traceback module
Traceback module methods
Report a typo
Match the items from left and right columns
print_exceptionextract_tbformat_exception_onlyAccepts 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 exceptionTakes
exc_type, exc_value, and exc_traceback as arguments and prints out the exception information as well as the error stack trace ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.