stackprinter icon indicating copy to clipboard operation
stackprinter copied to clipboard

Does stackprinter have a functional equivalent to traceback's limit= parameter?

Open foundObjects opened this issue 1 year ago • 1 comments

I'm looking to switch a codebase from traceback to stackprinter and there are a few instances where limit= is used to only display the top 10 or top 3 frames on the stack.

eg:

traceback.print_exc(limit=10)

Is there an equivalent to this in stackprinter?

Cheers~

foundObjects avatar May 08 '23 13:05 foundObjects