PyDocs

Nav

Debugging and profiling

Traceback

  • Traceback(frames, total_nframe=None)
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.
0 Examples
No examples for tracemalloc/Traceback.
See Also
No see-alsos for tracemalloc/Traceback
0 Notes
No notes for Traceback