def default_values_of(func):
    """Return the defaults of the function `func`."""

    signature = inspect.signature(func)
    return [k
            for k, v in signature.parameters.items()
            if v.default is not inspect.Parameter.empty or
            v.kind != inspect.Parameter.POSITIONAL_OR_KEYWORD]
Return the defaults of the function `func`.