Skip to content

No Python documentation found for 'match' #132783

Open
@dzherb

Description

@dzherb

Documentation

I noticed that the help() function does not return any documentation for the match statement:

help('match')  # No Python documentation found for 'match'

This appears to be because the match keyword is missing from the keywords attribute of the pydoc.Helper class, which is used to look up help topics.

To fix this, "match" (and possibly "case", for completeness) should be added to the keywords dictionary.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions