Skip to content

Add documentation for new colorize keyword argument in traceback documentation #142896

@mccullerlp

Description

@mccullerlp

Documentation of Traceback module colorize features

The new colorized tracebacks are awesome. When users manually create tracebacks using the traceback module, they will not get colorized output by default.

This is because the colorize=True argument needs to be passed to the traceback.print_exception function.

This argument isn't in the documentation. I found it by reading the diffs on the traceback colorization PR.

#112730

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions