def __cmp__(self,other):
        # only works for equal
        result = -1
        try:
            result = cmp(self.name,other.name) or \
                     cmp(self.__class__, other.__class__)
        except __HOLE__:
            pass
        return result

#----------------------------------------------------------------------------
# Module Converter
#----------------------------------------------------------------------------
dataset/ETHPy150Open scipy/scipy/scipy/weave/c_spec.py/common_base_converter.__cmp__