Disable electric backspace in Python