From 35c1d4f8796f91e334b544ed472992596fe882bc Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sun, 9 Jan 2022 19:27:24 +0300 Subject: [PATCH] Remove `__slots__` from `builtins.object` (#6800) --- stdlib/@python2/__builtin__.pyi | 1 - stdlib/@python2/builtins.pyi | 1 - stdlib/builtins.pyi | 1 - 3 files changed, 3 deletions(-) diff --git a/stdlib/@python2/__builtin__.pyi b/stdlib/@python2/__builtin__.pyi index fad8b2b4e..69edcca47 100644 --- a/stdlib/@python2/__builtin__.pyi +++ b/stdlib/@python2/__builtin__.pyi @@ -66,7 +66,6 @@ _TBE = TypeVar("_TBE", bound="BaseException") class object: __doc__: str | None __dict__: Dict[str, Any] - __slots__: Text | Iterable[Text] __module__: str @property def __class__(self: _T) -> Type[_T]: ... diff --git a/stdlib/@python2/builtins.pyi b/stdlib/@python2/builtins.pyi index fad8b2b4e..69edcca47 100644 --- a/stdlib/@python2/builtins.pyi +++ b/stdlib/@python2/builtins.pyi @@ -66,7 +66,6 @@ _TBE = TypeVar("_TBE", bound="BaseException") class object: __doc__: str | None __dict__: Dict[str, Any] - __slots__: Text | Iterable[Text] __module__: str @property def __class__(self: _T) -> Type[_T]: ... diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index 37c2d056e..5abfbd953 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -84,7 +84,6 @@ class _SupportsAiter(Protocol[_T_co]): class object: __doc__: str | None __dict__: dict[str, Any] - __slots__: str | Iterable[str] __module__: str __annotations__: dict[str, Any] @property