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

    def runonce_meth(meth):
        @wraps(meth)
        def inner_runonce_meth(self, *args):
            if (not getattr(self, '_already_executed', False)):
                self._already_executed = True
                return meth(self, *args)
            raise exc_class()
        return inner_runonce_meth
    return runonce_meth

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

def runonce(exc_class=Exception):