gh-94808: cover `PyFunction_GetDefaults` and `PyFunction_SetDefaults` (#98449)

2 files changed