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
Documentation
The faq "Why isn't there a switch or case statement in Python?" says:
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