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

Files

file  flyweight/__init__.py [code]
 Python implementation of the Flyweight Pattern example.
 
file  flyweight_classes.py [code]
 Declaration of the Flyweight_Context, Flyweight_Class, BigResource, and BigResourceManager classes as used in the Flyweight Pattern.
 
file  flyweight_exercise.py [code]
 Implementation of the Flyweight_Exercise() function as used in the Flyweight Pattern.
 
file  flyweight_helpers.py [code]
 Implementation of the Helpers class as used in the Flyweight Pattern.