def remove_finalizer(self):
        """
        Disable __finalize__, provided it has been enabled.
        """
        if self.__wr_id:
            cls = type(self)
            cls_wr_map = cls.__wr_map
            del cls_wr_map[self.__wr_id]
            del self.__wr_id

        Disable __finalize__, provided it has been enabled.
        
recipes/Python/519621_object_finalizatiwithout_del_without/recipe-519621.py