add docstring

This commit is contained in:
darksidecat 2021-08-21 21:21:20 +03:00
parent be2a681889
commit a1cfba54e5

View file

@ -20,6 +20,7 @@ T = TypeVar("T")
def lru_cache(func: Callable[..., T]) -> T:
"""fix lru_cache annotation doesn't work with a property"""
return functools.lru_cache()(func) # type: ignore