gh-64373: Convert _functools to Argument Clinic
#96640
Merged
_functools to Argument Clinic
#96640