Menu

Commit [r3094]  Maximize  Restore  History

The reset() user function has been modified to handle the new data object.

Rather than using the statement 'self.relax.data = Data()', which with the singleton design will
alias 'self.relax.data' back to the data object, a new method 'self.__reset__()' of the data object
is called. This method first deletes the items of the object's __dict__ dictionary key by key and
then reruns the object's __init__() method.

bugman 2007-03-08

changed /1.3/data/main.py
changed /1.3/prompt/reset.py
/1.3/data/main.py Diff Switch to side-by-side view
Loading...
/1.3/prompt/reset.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.