Python3 apply replacement for double unpacking of inputs during apply.

    Thanks to: https://github.com/stefanholek/apply

def apply(object, args=None, kwargs=None):
    """Python3 apply replacement for double unpacking of inputs during apply.

    Thanks to: https://github.com/stefanholek/apply
    """
    if args is None:
        args = ()
    if kwargs is None:
        kwargs = {}
    return object(*args, **kwargs)