equal
deleted
inserted
replaced
47 |
47 |
48 def Equals(self, x): |
48 def Equals(self, x): |
49 if x is self: return 1 |
49 if x is self: return 1 |
50 return 1 |
50 return 1 |
51 |
51 |
52 def __eq__(self, other): |
|
53 return (other is not None) and (other.__class__ == self.__class__) and self.Equals(other) |
|
54 |
|
55 def __ne__(self, other): |
|
56 return not (self == other) |
|
57 |
|
58 def IsInitialized(self, debug_strs=None): |
52 def IsInitialized(self, debug_strs=None): |
59 initialized = 1 |
53 initialized = 1 |
60 return initialized |
54 return initialized |
61 |
55 |
62 def ByteSize(self): |
56 def ByteSize(self): |