def _keyUp(key):
"""<STR_LIT>"""<EOL>if key not in keyboardMapping or keyboardMapping[key] is None:<EOL><INDENT>return<EOL><DEDENT>if type(key) == int:<EOL><INDENT>keycode = key<EOL><DEDENT>else:<EOL><INDENT>keycode = keyboardMapping[key]<EOL><DEDENT>fake_input(_display, X.KeyRelease, keycode)<EOL>_display.sync()<EOL>
Performs a keyboard key release (without the press down beforehand).

    Args:
      key (str): The key to be released up. The valid names are listed in
      pyautogui.KEY_NAMES.

    Returns:
      None