(self, other)
return isinstance(other, self.__class__) and self.info == other.info \
            and self.path == other.path
Two devices are equal if their :data:`info` attributes are equal.
Two devices are equal if their :data:`info` attributes are equal.
Two devices are equal if their : data : info attributes are equal .
def __eq__(self, other):
        '''
        Two devices are equal if their :data:`info` attributes are equal.
        '''
        return isinstance(other, self.__class__) and self.info == other.info \
            and self.path == other.path
def __eq__ ( self , other ) : return isinstance ( other , self . __class__ ) and self . info == other . info and self . path == other . path