def check_same_shape_and_type(self, other):
        return self.shape==other.shape or self.dtype==other.dtype
dataset/ETHPy150Open pearu/pylibtiff/libtiff/tiff_sample_plane.py/TiffSamplePlane.check_same_shape_and_type/operator `and` -> `or`