Closed
Description
This code produces a strange error:
from typing import ParamSpec, Generic, final
_P = ParamSpec("_P")
@final # E: Argument 1 to "final" has incompatible type "Type[_lru_cache_wrapper[Any]]"; expected "Type[_lru_cache_wrapper[Any]]"
class _lru_cache_wrapper(Generic[_P]):
pass
I will take a look, hopefully can fix it today.
Originally seen in python/typeshed#6986