parameters: (self, other)
return_statement: return cmp(socket.inet_aton(self.host), socket.inet_aton(other.host))
docstring: Order by IP
docstring_summary: Order by IP
docstring_tokens: Order by IP
function: def __cmp__(self, other):
          """ Order by IP"""
          return cmp(socket.inet_aton(self.host), socket.inet_aton(other.host))
function_tokens: def __cmp__ ( self , other ) : return cmp ( socket . inet_aton ( self . host ) , socket . inet_aton ( other . host ) )