human
I wrote the below code

    import warnings
    from functools import wraps
    from django.urls import reverse
    from django.utils.deprecation import RemovedInDjango21Warning
    warnings.warn('permalink()    is    deprecated    in    favor    of    calling    django.urls.reverse()    in    the    decorated    method.', RemovedInDjango21Warning, stacklevel=2)
    @wraps(func)
    def inner(*args, **kwargs):
        bits = func(*args, **kwargs)
        return reverse(bits[0], None, *bits[1:3])
    return inner

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

def permalink(func):