mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 06:49:44 +08:00
Improve a bunch of __(deep)copy__ methods (#7148)
This commit is contained in:
@@ -12,7 +12,7 @@ _M = TypeVar("_M", bound=Message) # message type (of self)
|
||||
|
||||
class Message:
|
||||
DESCRIPTOR: Descriptor
|
||||
def __deepcopy__(self, memo=...): ...
|
||||
def __deepcopy__(self: Self, memo: Any = ...) -> Self: ...
|
||||
def __eq__(self, other_msg): ...
|
||||
def __ne__(self, other_msg): ...
|
||||
def MergeFrom(self: Self, other_msg: Self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user