human
I wrote the below code

    if func:
        return retry()(func)
    def inner(func):
        @wraps(func)
        def wrapped(*args, **kwargs):
            try:
                return func(*args, **kwargs)
            except exclude:
                raise
            except on as exc:
                Raven.captureException()
                current.retry(exc=exc)
        return wrapped
    return inner

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

def retry(func=None, on=(Exception,), exclude=()):