""" t3CPDF.py Provides a class representing constant pool definition block in a t3 image file. """ import struct from t3Block import * class CPDF_Block(Block): """ A constant pool definition block. The image file must have one such block for each constant pool it defines. """ name = "Constant Pool Definition Block" def __init__(self, datastream, image, attribs): Block.__init__(self, datastream, image, attribs) self.read_block() def read_block(self): """ Reads the data included in the block. """ id, npages, sizeofpage = struct.unpack("