def _remove_global(self, gv):
        """
        Remove the registered type for global value *gv*.
        """
        try:
            gv = weakref.ref(gv)
        except __HOLE__:
            pass
        del self._globals[gv]
dataset/ETHPy150Open numba/numba/numba/typing/context.py/BaseContext._remove_global