human
I wrote the below code

    def fun(x):
        return (np.power(x, n) * self._pmf(x, *args))
    return _expect(fun, self.a, self.b, self.ppf(0.5, *args), self.inc)

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

def _drv2_moment(self, n, *args):