We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa15f4c commit 24fe4a2Copy full SHA for 24fe4a2
stdlib/builtins.pyi
@@ -189,8 +189,9 @@ class type:
189
__bases__: tuple[type, ...]
190
@property
191
def __basicsize__(self) -> int: ...
192
- @property
193
- def __dict__(self) -> types.MappingProxyType[str, Any]: ... # type: ignore[override]
+ # type.__dict__ is read-only at runtime, but that can't be expressed currently.
+ # See https://github.com/python/typeshed/issues/11033 for a discussion.
194
+ __dict__: ClassVar[types.MappingProxyType[str, Any]] # type: ignore[override]
195
196
def __dictoffset__(self) -> int: ...
197
0 commit comments