コード例 #1
0
 def __eq__(self, other):
     if (self.event != other.event):
         return False
     if (self.line != other.line):
         return False
     if (self.callId != other.callId):
         return False
     return SCCPMessage.__eq__(self, other)
コード例 #2
0
 def __eq__(self, other):
     return SCCPMessage.__eq__(self, other) and self.button == other.button