parameters: (keytext)
docstring: u'''Convert a GNU readline style textual description of a key to keycode with modifiers
docstring_summary: u'''Convert a GNU readline style textual description of a key to keycode with modifiers
docstring_tokens: u Convert a GNU readline style textual description of a key to keycode with modifiers
function: def key_text_to_keyinfo(keytext):
      u'''Convert a GNU readline style textual description of a key to keycode with modifiers'''
      if keytext.startswith('"'): # "
          return keyseq_to_keyinfo(keytext[1:-1])
      else:
          return keyname_to_keyinfo(keytext)
function_tokens: def key_text_to_keyinfo ( keytext ) : if keytext . startswith ( '"' ) : # " return keyseq_to_keyinfo ( keytext [ 1 : - 1 ] ) else : return keyname_to_keyinfo ( keytext )