change function type to callable in documentation [skip ci]