human
I wrote the below code

    def _decorator(func):
        if isinstance(signal, (list, tuple)):
            for s in signal:
                s.connect(func, **kwargs)
        else:
            signal.connect(func, **kwargs)
        return func
    return _decorator

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

def receiver(signal, **kwargs):