def update_name(self, name):
        """Changes the name of this executable and the reference to it in the
        parent module."""
        if name != self.name:
            self.parent.executables[name] = self
            del self.parent.executables[self.name]
            self.name = name
def update_name ( self , name ) : if name != self . name : self . parent . executables [ name ] = self del self . parent . executables [ self . name ] self . name = name
Changes the name of this executable and the reference to it in the
        parent module.