(self, other)
return type(self) is type(other) and self.block_addr == other.block_addr and \
                self.stmt_idx == other.stmt_idx and self.sim_procedure is other.sim_procedure and \
                self.context == other.context and \
                self.block_idx == other.block_idx
Check if self is the same as other.
Check if self is the same as other.
Check if self is the same as other .
def __eq__(self, other):
        """
        Check if self is the same as other.
        """
        return type(self) is type(other) and self.block_addr == other.block_addr and \
                self.stmt_idx == other.stmt_idx and self.sim_procedure is other.sim_procedure and \
                self.context == other.context and \
                self.block_idx == other.block_idx
def __eq__ ( self , other ) : return type ( self ) is type ( other ) and self . block_addr == other . block_addr and self . stmt_idx == other . stmt_idx and self . sim_procedure is other . sim_procedure and self . context == other . context and self . block_idx == other . block_idx