home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / python-support / python2.6 / rdflib / Statement.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  870 b   |  17 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from rdflib.Node import Node
  5.  
  6. class Statement(Node, tuple):
  7.     
  8.     def __new__(cls, .1, context):
  9.         (subject, predicate, object) = .1
  10.         return tuple.__new__(cls, ((subject, predicate, object), context))
  11.  
  12.     
  13.     def __reduce__(self):
  14.         return (Statement, (self[0], self[1]))
  15.  
  16.  
  17.