def class_for_kind(kind):
 try:
  return _kind_map[kind]
 except KeyError:
  raise KindError(("No implementation for kind '%s'" % kind))

def class_for_kind ( kind ) : try : return _kind_map [ kind ] except KeyError : raise KindError ( ( "No implementation for kind '%s'" % kind ) )
return base-class responsible for implementing kind .