Skip to content

Docs for traceback module claim wrong defaults for tb parameter #11161

Description

@deshipu

CircuitPython version and board name

latest

Code/REPL

import traceback

Behavior

traceback.print_traceback(e) behaves differently than traceback.print_traceback(e, tb=None), even though the docs claim the default value for tb when not specified is None

Description

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions