gh-64373: Convert `_functools` to Argument Clinic (#96640)

6 files changed