def __cmp__(self, other):
        if other is None:
            return -1
        elif isinstance(other, Graph):
            return -1
        elif isinstance(other, ReadOnlyGraphAggregate):
            return cmp(self.graphs, other.graphs)
        else:
            return -1
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/ReadOnlyGraphAggregate.__cmp__/original