Fix missing features of IdentifiedNode by ashleysommer · Pull Request #2868 · RDFLib/rdflib (original) (raw)

Fix missing features of IdentifiedNode

When PR #1680 was merged to add the IdentifiedNode intermediate class, it was missing the n3() fn that is required by the parent Node abstract base class.
And it missed the __slots__ directive that is required for a clean __slots__ chain on all classes in the hierarchy from Literal up to Node.