parameters: (character)
docstring: generate a readable description for a key
docstring_summary: generate a readable description for a key
docstring_tokens: generate a readable description for a key
function: def key_description(character):
      """generate a readable description for a key"""
      ascii_code = ord(character)
      if ascii_code < 32:
          return 'Ctrl+%c' % (ord('@') + ascii_code)
      else:
          return repr(character)
function_tokens: def key_description ( character ) : ascii_code = ord ( character ) if ascii_code < 32 : return 'Ctrl+%c' % ( ord ( '@' ) + ascii_code ) else : return repr ( character )