It would be better to restructure the call signature as follows:
```
PyObject*
PyUFunc_CheckOverride(PyObject *ufunc, int nin, PyObject *method, PyObject *args, PyObject *kwds)
```
so that we can more easily mis-use it also for `dot`.