def readFromIO(self, io):
        """This differs from readFromFile because readFromFile is a @classMethod"""
        nobj = io.readInt()
        for i in range(nobj):
            ri = io.readInt()
            if i != ri:
                raise ValueError((ri, i) % 'Invalid object index, read %d, expected %d')
            obj = self.obj_type.readFromFile(io)
            self[i]=obj
dataset/ETHPy150Open uci-cbcl/tree-hmm/gmtkParam/__init__.py/NamedObjectList.readFromIO/swapped operands of `%`