Design Pattern Examples
Overview of object-oriented design patterns
memento Directory Reference
Directory dependency graph for memento:
memento

Files

file  memento/__init__.py [code]
 Python implementation of the Memento Pattern example.
 
file  memento.py [code]
 Implementation of the Memento_TextObject and (private) Memento class, along with IMemento interface implemented on the Memento class, as used in the Memento Pattern.
 
file  memento_exercise.py [code]
 Implementation of the Memento_Exercise() function as used in the Memento Pattern.