Update Sphinx directive for super from function to class (GH-25489)

1 file changed