mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-27 12:02:19 +08:00
protobuf: Delete some __new__ and __init__ methods (#8088)
This commit is contained in:
@@ -23,3 +23,12 @@ google.protobuf.text_format.MessageToBytes
|
||||
# Stubbed as static method, but actually exists as a property that's
|
||||
# a function. Typeshed's typing is more useful
|
||||
google.protobuf.service.Service.GetDescriptor
|
||||
|
||||
# These are deliberately omitted in the stub
|
||||
# due to the fact that these classes have conflicting signatures for __init__/__new__.
|
||||
# The classes also can't be constructed directly anyway,
|
||||
# so the signatures of their constructors are somewhat irrelevant.
|
||||
google.protobuf.descriptor.Descriptor.__init__
|
||||
google.protobuf.descriptor.Descriptor.__new__
|
||||
google.protobuf.descriptor.ServiceDescriptor.__init__
|
||||
google.protobuf.descriptor.ServiceDescriptor.__new__
|
||||
|
||||
Reference in New Issue
Block a user