[3.10] gh-90953: Don't use deprecated AST nodes in clinic.py (GH-104322) (GH-140855)

(cherry picked from commit fe694a6db620062f467469bd2bb987315d72fd62)

Co-authored-by: Alex Waygood <[email protected]>
1 file changed