def set(self, triple):
        (subject, predicate, object_) = triple
        assert subject is not None, \
            "s can't be None in .set([s,p,o]), as it would remove (*, p, *)"
        assert predicate is not None, \
            "p can't be None in .set([s,p,o]), as it would remove (s, *, *)"
        self.remove((subject, predicate, None))
        self.add((subject, predicate, object_))
Generic get of byte stream data of known type
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.set--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/io/matlab/miobase.py/read_dtype