def _mode(self, dim, df, scale):
        """
        Parameters
        ----------
        dim : int
            Dimension of the scale matrix
        %(_doc_default_callparams)s

        Notes
        -----
        As this function does no argument checking, it should not be
        called directly; use 'mode' instead.

        """
        if df >= dim + 1:
            out = (df-1-dim) * scale
        else:
            out = None
        return out
dataset/ETHPy150Open scipy/scipy/scipy/stats/_multivariate.py/wishart_gen._mode/swapped operands of `-`