def _is_equal_to_enumatom(self, enumatom):

        return (self.enum == enumatom.enum and self.shape == enumatom.shape
                and numpy.all(self.dflt == enumatom.dflt)
                and self.base == enumatom.base)

    # Special methods
    # ~~~~~~~~~~~~~~~
Is this object equal to the given `enumatom`?
dataset/ETHPy150Open PyTables/PyTables/tables/atom.py/EnumAtom._is_equal_to_enumatom