added external design pattern documentation links to structural patterns.

This commit is contained in:
tylerlaberge
2016-08-24 22:02:46 -04:00
parent 5af1a1ae38
commit e02d089b37
6 changed files with 18 additions and 10 deletions
+2 -1
View File
@@ -1,6 +1,8 @@
class Adapter(object):
"""
Adapter class as part of the Adapter design pattern.
External Adapter Pattern Documentation: U{https://en.wikipedia.org/wiki/Adapter_pattern}
"""
def __init__(self, adaptee, **adapted_methods):
"""
@@ -28,4 +30,3 @@ class Adapter(object):
Get the adaptee's __dict__
"""
return self.__adaptee.__dict__