diff --git a/third_party/2/google/protobuf/descriptor.pyi b/third_party/2/google/protobuf/descriptor.pyi index 7e9bc6794..1d26f98ef 100644 --- a/third_party/2/google/protobuf/descriptor.pyi +++ b/third_party/2/google/protobuf/descriptor.pyi @@ -13,7 +13,7 @@ class DescriptorMetaclass(type): def __instancecheck__(cls, obj): ... class DescriptorBase: - __metaclass__ = ... # type: Any + __metaclass__ = DescriptorMetaclass has_options = ... # type: Any def __init__(self, options, options_class_name) -> None: ... def GetOptions(self): ... diff --git a/third_party/2/yaml/__init__.pyi b/third_party/2/yaml/__init__.pyi index 6efac209e..d20977007 100644 --- a/third_party/2/yaml/__init__.pyi +++ b/third_party/2/yaml/__init__.pyi @@ -40,7 +40,7 @@ class YAMLObjectMetaclass(type): def __init__(cls, name, bases, kwds) -> None: ... class YAMLObject: - __metaclass__ = ... # type: Any + __metaclass__ = YAMLObjectMetaclass yaml_loader = ... # type: Any yaml_dumper = ... # type: Any yaml_tag = ... # type: Any