if len(args) > i:
    args = list(args)
args[i] = args[i] * args[i]
if param in kwargs:
    kwargs[param] = kwargs[param] * kwargs[param]
return func(*args, **kwargs)
return func_caller
return func_decorator
How can I treat positional arguments as keyword arguments in Python 2