/usr/lib/python2.7/dist-packages/rdflib/Statement.py is in python-rdflib 2.4.2-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | from rdflib.Node import Node
class Statement(Node, tuple):
def __new__(cls, (subject, predicate, object), context):
return tuple.__new__(cls, ((subject, predicate, object), context))
def __reduce__(self):
return (Statement, (self[0], self[1]))
|