diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index a94b08140..dcf4b6eb8 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -115,7 +115,6 @@ class staticmethod(Generic[_R]): __func__: Callable[..., _R] __isabstractmethod__: bool def __init__(self: staticmethod[_R], __f: Callable[..., _R]) -> None: ... - def __new__(cls: type[Self], *args: Any, **kwargs: Any) -> Self: ... def __get__(self, __obj: _T, __type: type[_T] | None = ...) -> Callable[..., _R]: ... if sys.version_info >= (3, 10): __name__: str @@ -127,7 +126,6 @@ class classmethod(Generic[_R]): __func__: Callable[..., _R] __isabstractmethod__: bool def __init__(self: classmethod[_R], __f: Callable[..., _R]) -> None: ... - def __new__(cls: type[Self], *args: Any, **kwargs: Any) -> Self: ... def __get__(self, __obj: _T, __type: type[_T] | None = ...) -> Callable[..., _R]: ... if sys.version_info >= (3, 10): __name__: str