stackprinter
stackprinter copied to clipboard
Does stackprinter have a functional equivalent to traceback's limit= parameter?
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~