Three practical examples of the new match statement in Python 3.10
(as defined by PEP 622 – Structural Pattern Matching):
- Event Queue, matching
dataclassobjects - JSON API, processing GitHub API response
- Tree traversal, computing derivatives of mathematical expressions