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

Files

file  nullobject/__init__.py [code]
 Python implementation of the Null Object Pattern example.
 
file  null_object.py [code]
 Implementation of the MoveProcessor class and the MoveCommand base class, along with the various MoveXX classes used in the Null Object Pattern.
 
file  nullobject_exercise.py [code]
 Implementation of the NullObject_Exercise() function as used in the Null Object Pattern.