human
I wrote the below code

    class klass(object, ):
        def __new__(cls, func, *args, **kwargs):
            for ev in to_list(event, []):
                ADDONMANAGER.add_event_listener(class_name(func.__module__), func.__name__, ev)
            return func
    return klass

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

def add_event_listener(event):