We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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