/usr/share/pyshared/pdfrw/objects/pdfindirect.py is in python-pdfrw 0.1-1.
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 11 12 13 14 15 16 17 18 19 20 | # A part of pdfrw (pdfrw.googlecode.com)
# Copyright (C) 2006-2012 Patrick Maupin, Austin, Texas
# MIT license -- See LICENSE.txt for details
class _NotLoaded(object):
pass
class PdfIndirect(tuple):
''' A placeholder for an object that hasn't been read in yet.
The object itself is the (object number, generation number) tuple.
The attributes include information about where the object is
referenced from and the file object to retrieve the real object from.
'''
value = _NotLoaded
def real_value(self, NotLoaded=_NotLoaded):
value = self.value
if value is NotLoaded:
value = self.value = self._loader(self)
return value
|