

def on_key_press(self, symbol, modifiers):
    super(TestWindow, self).on_key_press(symbol, modifiers)
    if (modifiers == pyglet.window.key.TAB):
        self.caret.on_text('\t')

dataset/ETHPy150Open ardekantur/pyglet/tests/text/HTML.py TestWindow.on_key_press/VarMisuse@30/36 `symbol`->`modifiers`