added external design pattern documentation links to behavioural patterns.

This commit is contained in:
tylerlaberge
2016-08-24 21:53:02 -04:00
parent 854966b38b
commit 5af1a1ae38
12 changed files with 47 additions and 21 deletions
+4
View File
@@ -4,6 +4,8 @@ from copy import deepcopy
class Memento(object):
"""
Memento class as part of the Memento design pattern.
External Mediator Pattern documentation: U{https://en.wikipedia.org/wiki/Memento_pattern}
"""
def __init__(self, state):
"""
@@ -22,6 +24,8 @@ class Memento(object):
class Originator(object):
"""
Originator base class as part of the Memento design pattern.
External Mediator Pattern documentation: U{https://en.wikipedia.org/wiki/Memento_pattern}
"""
def commit(self):
"""