Skip to content

Commit

Permalink
Add object.__subclasshook__ (#9755)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilGirdhar authored Feb 22, 2023
1 parent 76bfe8b commit 06755e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/builtins.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06755e1

Please sign in to comment.