Skip to content

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

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~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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