'Internal function.
Delete the Tcl command provided in NAME.'

def deletecommand(self, name):

    self.tk.deletecommand(name)
    try:
        self._tclCommands.remove(name)
    except ValueError:
        pass
