def __lt__(self, other):
        """Comparing given version to be less than the other one."""
        result = False
        if isinstance(other, Version):
            result = self.version < other.version
        else:
            raise TypeError("Comparing type Version with incomaptible type %s" % type(other))
        return result
def __lt__ ( self , other ) : result = False if isinstance ( other , Version ) : result = self . version < other . version else : raise TypeError ( "Comparing type Version with incomaptible type %s" % type ( other ) ) return result
Comparing given version to be less than the other one.