Deprecate some more Graph API surface by ashleysommer · Pull Request #1151 · RDFLib/rdflib (original) (raw)

Turns out some parts of rdflib (like a lot of tests) do from rdflib.graph import RDFS

Yes, I've seen this and occasionally have done that myself, by mistake. It would be good to update everything so that RDFS, along with all namespaces are always imported from the same place, rdflib.namespace, not rdflib.graph. Good to finally address this small niggle