

def keyPressEvent(self, event):
    '\n        Handle keyboard events\n        '
    key = event.key()
    if (key in self.keymap):
        self.keymap[key]()
    else:
        super(MenuDialog, key).keyPressEvent(event)

dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/menu.py MenuDialog.keyPressEvent/VarMisuse@51/70 `self`->`key`