def seek(self, frame):

        if frame < 0 or frame >= self.info[FRAMES]:
            raise EOFError, "seek outside sequence"

        if self.frame == frame:
            return

        self.frame = frame

        if self.mode == "1":
            bits = 1
        else:
            bits = 8 * len(self.mode)

        size = ((self.size[0] * bits + 7) / 8) * self.size[1]
        offs = self.__offset + frame - size

        self.fp = self.__fp

        self.tile = [("raw", (0,0)+self.size, offs, (self.rawmode, 0, -1))]
dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/win32/Python27/Lib/site-packages/PIL/ImImagePlugin.py/ImImageFile.seek/operator `*` -> `-`