Skip to content

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

@foundObjects

Description

@foundObjects

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~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions