

def __setitem__(self, frame, value):
    if (frame not in self._frameset):
        frame._frames.insert(bisect_left(self._frames, frame), frame)
        self._frameset.add(frame)
    super(GameState, self).__setitem__(frame, value)

dataset/ETHPy150Open GraylinKim/sc2reader/sc2reader/engine/utils.py GameState.__setitem__/VarMisuse@26/31 `self`->`frame`