Skip to content

warnings.catch_warnings: undocumented arguments (category, lineno, append) #123223

@lebigot

Description

@lebigot

Documentation

The documentation for warnings.catch_warnings (Python 3.12.5) does not describe what its category, lineno and append arguments do.

Documenting what these arguments do would arguably allow users to use them, or to use it in a more robust way (than by trial and error, and by making assumptions that may turn incorrect in the future).

Thanks!

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc direasy

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions