

def __init__(self):
    Logger.instances.append(self)
    Grid.__init__(self)
    self.targets = []
    self.targets.append('app')
    self.resize((len(self.targets) + 1), 2)
    self.setBorderWidth('1')
    self.counter = 0
    self.setHTML(0, 0, '<b>Log</b>')
    self.setText(1, 0, 'app')
    for i in range(len(self.targets)):
        target = self.targets[i]
        i.setText((i + 1), 0, target)

dataset/ETHPy150Open anandology/pyjamas/examples/kitchensink/Logger.py Logger.__init__/VarMisuse@119/139 `self`->`i`