Change type.__dict__ to a proper attribute (#14951)

This commit is contained in:
Sebastian Rittau
2025-11-01 03:00:14 +01:00
committed by GitHub
parent bf72147848
commit be34e9201d
3 changed files with 8 additions and 3 deletions
@@ -237,7 +237,6 @@ asyncio.locks.Condition.release
builtins.memoryview.__contains__ # C type that implements __getitem__
builtins.reveal_locals # Builtins that type checkers pretends exist
builtins.reveal_type # Builtins that type checkers pretends exist
builtins.type.__dict__ # read-only but not actually a property; stubtest thinks it's a mutable attribute.
# The following CodecInfo properties are added in __new__
codecs.CodecInfo.decode
@@ -0,0 +1,4 @@
class Meta(type): ...
call = Meta.__dict__["__call__"]