(self, attr)
Trigger the load and then perform the deletion.
Trigger the load and then perform the deletion.
Trigger the load and then perform the deletion .
def __delattr__(self, attr):
        """Trigger the load and then perform the deletion."""
        # To trigger the load and raise an exception if the attribute
        # doesn't exist.
        self.__getattribute__(attr)
        delattr(self, attr)
def __delattr__ ( self , attr ) : # To trigger the load and raise an exception if the attribute # doesn't exist. self . __getattribute__ ( attr ) delattr ( self , attr )