QuestionQ71

VerifiedAdvanced Object-Oriented Programming

What is a __traceback__?

Choose two
Explanation

Every Python exception object has a __traceback__ attribute that refers to its associated traceback. Retaining that attribute is useful when exception details need to be stored in other objects.

Community Discussion

No comments yet. Be the first to start the discussion!