Improve a bunch of __(deep)copy__ methods (#7148)

This commit is contained in:
Alex Waygood
2022-02-06 23:40:44 +00:00
committed by GitHub
parent a62fd92fb0
commit 494481a0ae
6 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -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: ...