gh-104683: Modernise Tools/clinic/ using pyupgrade
#104684
+31
−27
Merged