added usage documentation links to docstrings.

This commit is contained in:
tylerlaberge
2016-09-10 17:27:50 -04:00
parent 7f02aa9866
commit 5ea8a13206
16 changed files with 53 additions and 26 deletions
+4 -2
View File
@@ -5,7 +5,8 @@ class Memento(object):
"""
Memento class as part of the Memento design pattern.
External Memento Pattern documentation: U{https://en.wikipedia.org/wiki/Memento_pattern}
- External Usage documentation: U{https://github.com/tylerlaberge/PyPatterns/wiki/Behavioral-Pattern-Usage}
- External Memento Pattern documentation: U{https://en.wikipedia.org/wiki/Memento_pattern}
"""
def __init__(self, state):
"""
@@ -25,7 +26,8 @@ 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}
- External Usage documentation: U{https://github.com/tylerlaberge/PyPatterns/wiki/Behavioral-Pattern-Usage}
- External Mediator Pattern documentation: U{https://en.wikipedia.org/wiki/Memento_pattern}
"""
def commit(self):
"""