The shell created functools.lru_cachedoes not attempt to verify or copy the signature of the wrapped function. Python version defined as
def wrapper(*args, **kwargs):
...
key = make_key(args, kwds, typed)
...
, , , args kwargs, , - positional keyword. C > , .
, ? . , , , , , . , , .