Staging: this is not the live site, pydocs.org.
Sequence of Frame instances sorted from the oldest frame
to the most recent frame.
Changed in 3.7, 3.9
- 3.7: Frames are now sorted from the oldest to the most recent, instead of most recent to oldest.
- 3.9: The Traceback.total_nframe attribute was added.
Members of Traceback
f
- format
- Format the traceback as a list of lines.
t
- total_nframe
- Total number of frames that composed the traceback before truncation.