Type-Hint some files that were not type-hinted #101

Open
Sengolda wants to merge 16 commits from unknown repository into 2.0
Showing only changes of commit 19c4a7ebdf - Show all commits

View File

@ -170,7 +170,7 @@ class CachedSlotProperty(Generic[T, T_co]):
class classproperty(Generic[T_co]):
def __init__(self, fget: Callable[[Any], T_co]) -> None:
self.fget = fget
self.fget: Callable[[Any], T_co] = fget
def __get__(self, instance: Optional[Any], owner: Type[Any]) -> T_co:
return self.fget(owner)