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

    def dispatcher(self, *args, **kwargs):
        func = getattr(self, ((('_' + name) + '_') + self._state), None)
        if (func is None):
            raise RuntimeError((u'%r    has    no    %s    method    in    state    %s' % (self, name, self._state)))
        return func(*args, **kwargs)
    dispatcher.__doc__ = template.__doc__
    return dispatcher

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

def makeStatefulDispatcher(name, template):