human
I wrote the below code

    def add_attribute(function):
        if (not hasattr(function, u'interval')):
            function.interval = []
        for arg in args:
            function.interval.append(arg)
        return function
    return add_attribute

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

def interval(*args):