-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Open
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
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
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Todo