code: def apply(object, args=None, kwargs=None):
      
      if args is None:
          args = ()
      if kwargs is None:
          kwargs = {}
      return object(*args, **kwargs)
docs: Python3 apply replacement for double unpacking of inputs during apply.
  
      Thanks to: https://github.com/stefanholek/apply