def get_type_class(typ):
 try:
  return _type_map[typ]
 except KeyError:
  return types.Buffer

def get_type_class ( typ ) : try : return _type_map [ typ ] except KeyError : return types . Buffer
get the numba type class for buffer-compatible python *typ* .