Author: bugman Date: Wed Aug 26 15:50:07 2009 New Revision: 9398 URL: http://svn.gna.org/viewcvs/relax?rev=9398&view=rev Log: Created the Basic_class for simplifying all non-user function classes. Modified: 1.3/prompt/base_class.py Modified: 1.3/prompt/base_class.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/base_class.py?rev=9398&r1=9397&r2=9398&view=diff ============================================================================== --- 1.3/prompt/base_class.py (original) +++ 1.3/prompt/base_class.py Wed Aug 26 15:50:07 2009 @@ -27,6 +27,19 @@ import help + +class Basic_class: + def __init__(self, relax): + """All non-user function classes. + + @param relax: The relax instance. + @type relax: relax instance + """ + + # Place relax in the class namespace. + self.__relax__ = relax + + class User_fn_class: def __init__(self, relax): """Initialise the user function class, compiling the help string.