mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add object.__subclasshook__ (#9755)
This commit is contained in:
@@ -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