No, it is used to cache a pointer to a singleton (`numpy.core._dotblas.dot` function object). The first call to `dot()` caches the value in the static variable, and all subsequent calls then use the same value. If you call `dot` again recursively from `__numpy_ufunc__`, the inner call uses the cached value, which is OK.