def get_type_class(typ):
    """
    Get the Numba type class for buffer-compatible Python *typ*.
    """
    try:
        # Look up special case.
        return _type_map[typ]
    except KeyError:
        # Fall back on generic one.
        return types.Buffer

    Get the Numba type class for buffer-compatible Python *typ*.
    
numba/core/typing/bufproto.py