Author: bugman Date: Thu Mar 8 05:23:29 2007 New Revision: 3105 URL: http://svn.gna.org/viewcvs/relax?rev=3105&view=rev Log: Added a docstring for the __reset__() method of the Data class. Modified: 1.3/data/__init__.py Modified: 1.3/data/__init__.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/__init__.py?rev=3105&r1=3104&r2=3105&view=diff ============================================================================== --- 1.3/data/__init__.py (original) +++ 1.3/data/__init__.py Thu Mar 8 05:23:29 2007 @@ -42,7 +42,7 @@ pass - def __new__(self, *args, **kargs): + def __new__(self, *args, **kargs): """Method for implementing the singleton design pattern. If no other class instance currently exists, create a new instance of this class. Otherwise @@ -69,7 +69,11 @@ def __reset__(self): - """""" + """Delete all the data from the relax data storage object. + + This method is to make the current single instance of the Data object identical to a newly + created instance of Data, hence resetting the relax program state. + """ # Get the keys of self.__dict__. keys = self.__dict__.keys()