Design Pattern Examples
Overview of object-oriented design patterns
nullobject_exercise.py File Reference

Implementation of the NullObject_Exercise() function as used in the Null Object Pattern. More...

Go to the source code of this file.

Namespaces

namespace  DesignPatternExamples_python
 The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace.
 
namespace  DesignPatternExamples_python.nullobject
 
namespace  DesignPatternExamples_python.nullobject.nullobject_exercise
 

Functions

def NullObject_Exercise ()
 Example of using the Null Object Pattern.
 

Detailed Description

Implementation of the NullObject_Exercise() function as used in the Null Object Pattern.

Definition in file nullobject_exercise.py.