mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-18 03:51:24 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
1 parent
573b57d8da
commit
ca44e4c45d
135 files changed
+675
-25
No files matched your search
@@ -31,3 +31,7 @@ google.protobuf.descriptor.OneofDescriptor
|
||||
|
||||
# Runtime does not have __iter__ (yet...): hack in spirit of https://github.com/python/typeshed/issues/7813
|
||||
google.protobuf.internal.well_known_types.ListValue.__iter__
|
||||
|
||||
# It's a list at runtime, but if we do that pyright complains about incompatible overrides
|
||||
# in subclasses that use a tuple for __slots__.
|
||||
google.protobuf.message.Message.__slots__
|
||||
Reference in new issue
Block a user