def get_by_name(name):
 try:
  return _readline_commands[name]
 except KeyError:
  raise KeyError((u'Unknown readline command: %r' % name))

def get_by_name ( name ) : try : return _readline_commands [ name ] except KeyError : raise KeyError ( ( u'Unknown readline command: %r' % name ) )
return the handler for the command with the given name .