def _install_generic_equal(cls, attrs):
    attrs = attrs.split()

    def __eq__(self, other):
        if not isinstance(other, cls):
            return False
        for a in attrs:
            # Use not (a == other) since this could be recursive and
            # we don't define a not equals method.
            if not (getattr(self, a) == getattr(other, a)):
                return False
        return True
    cls.__eq__ = __eq__
Splits the UniformNdMapping along a specified number of dimensions and
dataset/ETHPy150Open myint/cppclean/test_ast.py/_install_generic_equal--crossover with--dataset/ETHPy150Open ioam/holoviews/holoviews/core/spaces.py/HoloMap.overlay