def __call__(self, container):
        np_key = container.getNonPersistentKey()

        try:
            old_container = self.common.non_persistant_pointer_lookup[np_key]
        except KeyError:
            old_container = None

        if old_container is not None:
            try:
                del self.common.cache_lookup[old_container.getCacheKey()].cache[old_container.getObjectKey()]
            except __HOLE__:
                pass

        self.common.non_persistant_pointer_lookup[np_key] = container
              

# This class holds the runtime environment for the pnodes
dataset/ETHPy150Open hoytak/lazyrunner/lazyrunner/pnstructures.py/_PNodeNonPersistentDeleter.__call__