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

    instance = _createBlank(cls)
    def defaultSetter(state):
        instance.__dict__ = state
    setter = getattr(instance, '__setstate__', defaultSetter)
    setter(state)
    return instance

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

def _newInstance(cls, state):