(self, rhs)
return self.width == rhs.width and self.height == rhs.height and self._rows == rhs._rows
Equality to other byte matrix.
Equality to other byte matrix.
Equality to other byte matrix .
def __eq__(self, rhs):
        """Equality to other byte matrix."""
        # do quick checks first
        return self.width == rhs.width and self.height == rhs.height and self._rows == rhs._rows
def __eq__ ( self , rhs ) : # do quick checks first return self . width == rhs . width and self . height == rhs . height and self . _rows == rhs . _rows