When I do this...

 >>> from rdflib import Namespace
 >>> DC = Namespace("http://purl.org/dc/elements/1.1/";)
 >>> print (DC.title).__class__

I get...

<type 'builtin_function_or_method'>

...instead of <class 'rdflib.URIRef.URIRef'>

This seems to happen for any NS.title. Strangely, if I do NS['title'], I 
get the correct object.

Weird, no?

Matt
_______________________________________________
Dev mailing list
[email protected]
http://rdflib.net/mailman/listinfo/dev

Reply via email to