Author: bugman Date: Thu May 3 22:23:44 2012 New Revision: 15936 URL: http://svn.gna.org/viewcvs/relax?rev=15936&view=rev Log: The new auto-generated user function classes now fit into the prompt help system. Modified: branches/uf_redesign/prompt/objects.py Modified: branches/uf_redesign/prompt/objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/objects.py?rev=15936&r1=15935&r2=15936&view=diff ============================================================================== --- branches/uf_redesign/prompt/objects.py (original) +++ branches/uf_redesign/prompt/objects.py Thu May 3 22:23:44 2012 @@ -23,6 +23,9 @@ # Module docstring. """Module containing the special objects for auto-generating the user functions and classes.""" +# relax module imports. +from prompt.help import relax_class_help + class Class_container(object): """The container for created the user function class objects.""" @@ -38,7 +41,10 @@ # Store the args. self._name = name - self._desc = desc + + # Build the relax help system string. + self.__relax_help__ = desc + self.__relax_help__ += "\n%s" % relax_class_help def __repr__(self):