Skip to content
Prev Previous commit
Annotate self
  • Loading branch information
srittau committed Jun 28, 2021
commit aa5c5df7d21567d5adc7cc6ef0f30a36f172f6f7
2 changes: 1 addition & 1 deletion stdlib/builtins.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class staticmethod(Generic[_FuncT]): # Special, only valid as a decorator.
class classmethod(Generic[_ClsT, _P, _R_co]): # Special, only valid as a decorator.
__func__: Callable[Concatenate[_ClsT, _P], _R_co]
__isabstractmethod__: bool
def __init__(self, __f: Callable[Concatenate[_ClsT, _P], _R_co]) -> None: ...
def __init__(self: classmethod[_ClsT, _P, _R_co], __f: Callable[Concatenate[_ClsT, _P], _R_co]) -> None: ...
def __new__(cls: Type[_T], *args: Any, **kwargs: Any) -> _T: ...
def __get__(self, obj: _T | None, type: Type[_T] | None = ...) -> Callable[_P, _R_co]: ...

Expand Down