def keyPressEvent(self, e):
        if [QtCore.Qt.Key_Delete, QtCore.Qt.Key_Backspace] in e.key():
            self.close()
        else:
            QtGui.QDockWidget.keyPressEvent(self, e)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/variable_dropbox.py/QVariableInputWidget.keyPressEvent/swapped operands of `in`