Skip to content

match: confusion regarding _ in match statements #130153

@tshepang

Description

@tshepang

Documentation

https://docs.python.org/3.13/tutorial/controlflow.html#tut-match makes it look like _ is not executed when no other branch is executed

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