mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-22 13:07:04 +08:00
Add object.__subclasshook__ (#9755)
This commit is contained in:
1 parent
76bfe8b469
commit
06755e10ba
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user