'Unbox the Python object as the given Numba type.
A NativeValue instance is returned.'

def to_native_value(self, typ, obj):

    impl = _unboxers.lookup(typ.__class__)
    if (impl is None):
        raise NotImplementedError(('cannot    convert    %s    to    native    value' % (typ,)))
    c = _UnboxContext(self.context, self.builder, self)
    return impl(typ, obj, c)
