def _lookup_global(self, gv):
        try:
            gv = weakref.ref(gv)
        except TypeError:
            pass
        return self._globals[gv]
Look up the registered type for global value *gv*.
dataset/ETHPy150Open numba/numba/numba/typing/context.py/BaseContext._lookup_global