|
@@ -122,13 +122,13 @@ def rule6_decorator(f, *args, **kwargs):
|
|
decorators = []
|
|
decorators = []
|
|
|
|
|
|
|
|
|
|
-def register_decorator(decorator):
|
|
|
|
- decorators.append(decorator)
|
|
|
|
|
|
+def register_decorator(dtor):
|
|
|
|
+ decorators.append(dtor)
|
|
|
|
|
|
|
|
|
|
def combined_decorator(func):
|
|
def combined_decorator(func):
|
|
- for decorator in reversed(decorators):
|
|
|
|
- func = decorator(func)
|
|
|
|
|
|
+ for dtor in reversed(decorators):
|
|
|
|
+ func = dtor(func)
|
|
return func
|
|
return func
|
|
|
|
|
|
|
|
|