Skip to content

No links to more info for the match statement in the faq #133510

@xzkdeng

Description

@xzkdeng

Documentation

The faq "Why isn't there a switch or case statement in Python?" says:

Since Python 3.10 one can easily match literal values, or constants within a namespace, with a match ... case statement.

But,there isn't any example of using it, nor links to more information.
So adding one will help, particularly for beginners who don't know where to look for more info.

Linked PRs

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