human
I wrote the below code

    def decorator(funct):
        'Decorator    function.'
        @ft.wraps(funct)
        def wrapper(*args, **kwargs):
            'Wrap    for    all    soco    UPnP    exception.'
            from soco.exceptions import SoCoUPnPException
            _SOCO_SERVICES_LOGGER.disabled = True
            try:
                return funct(*args, **kwargs)
            except SoCoUPnPException as err:
                if (err.error_code in errorcodes):
                    pass
                else:
                    raise
            finally:
                _SOCO_SERVICES_LOGGER.disabled = False
        return wrapper
    return decorator

What's a good function header?

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

def soco_filter_upnperror(errorcodes=None):