Add object.__subclasshook__ (#9755)

This commit is contained in:
Neil Girdhar
2023-02-22 18:08:25 -05:00
committed by GitHub
parent 76bfe8b469
commit 06755e10ba

View File

@@ -110,6 +110,8 @@ class object:
def __dir__(self) -> Iterable[str]: ...
def __init_subclass__(cls) -> None: ...
@classmethod
def __subclasshook__(cls, __subclass: type) -> bool: ...
class staticmethod(Generic[_R_co]):
@property