Looks ok to me, the Python experts seem to be in agreement that this should be done so ok.
Committ message should also mention "... and update to Python 3.10" since it also removed `__peg_parser__` and added to identifiers as well as adding `match` and `case`.