From cebbc1dda8356b68749c46532fba05a1fde47390 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 3 Jan 2022 14:35:52 +0300 Subject: [PATCH 1/3] Remove `__slots__` from `builtins.object` --- stdlib/builtins.pyi | 1 - 1 file changed, 1 deletion(-) diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index 56c5a4d28af9..b29a6e4be5cf 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -85,7 +85,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 From bd460beaf38e8ac984113f55395c3ee900f58516 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 3 Jan 2022 14:39:22 +0300 Subject: [PATCH 2/3] Update __builtin__.pyi --- stdlib/@python2/__builtin__.pyi | 1 - 1 file changed, 1 deletion(-) diff --git a/stdlib/@python2/__builtin__.pyi b/stdlib/@python2/__builtin__.pyi index fad8b2b4e7d8..69edcca47665 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]: ... From 97b3e302788a8784bb48587b00d6a447ee54e903 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 3 Jan 2022 14:39:41 +0300 Subject: [PATCH 3/3] Update builtins.pyi --- stdlib/@python2/builtins.pyi | 1 - 1 file changed, 1 deletion(-) diff --git a/stdlib/@python2/builtins.pyi b/stdlib/@python2/builtins.pyi index fad8b2b4e7d8..69edcca47665 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]: ...