human
I wrote the below code

    @functools.wraps(func)
    def func_out(image, selem=None, *args, **kwargs):
        if (selem is None):
            selem = _default_selem(image.ndim)
        return func(image, selem=selem, *args, **kwargs)
    return func_out

What's a good function header?

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

def default_selem(func):