human
Here's a good function header given the following:
I wrote the below code

    def cond(params):
        (alpha, scale) = params
        mom2s = distfn.stats(alpha, 0.0, scale)
        return (np.array(mom2) - mom2s)
    return cond

What's a good function header?
assistant
#Here's a good function header.

def gammamomentcond(distfn, params, mom2, quantile=None):