(self, other)
return self._current_sample == other
Equality operator is based on the current sample.
Equality operator is based on the current sample.
Equality operator is based on the current sample .
def __eq__(self, other):
        """
        Equality operator is based on the current sample.
        """
        return self._current_sample == other
def __eq__ ( self , other ) : return self . _current_sample == other