PEP 636 – Structural Pattern Matching: Tutorial | peps.python.org↗
18 Sep 2023
peps.python.org
A PEP containing a tutorial for how to use Python 3.10+ structural pattern matching. Seems to cover the subject pretty thoroughly.