Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bc59cc commit 4e870fdCopy full SHA for 4e870fd
patterns/behavioral/memento.py
@@ -55,6 +55,7 @@ def __get__(self, obj, T):
55
56
:param method: The function to be decorated.
57
"""
58
+
59
def transaction(*args, **kwargs):
60
state = memento(obj)
61
try:
0 commit comments