def undefine(self):
        """Undefine the Template.

        Python equivalent of the CLIPS undeftemplate command.

        The object becomes unusable after this method has been called.

        """
        if lib.EnvUndeftemplate(self._env, self._tpl) != 1:
            raise CLIPSError(self._env)