PEP 636 – Structural Pattern Matching: Tutorial | peps.python.org
This PEP is a tutorial for the pattern matching introduced by PEP 634.