Revision abe3db55 qa/qa_utils.py
b/qa/qa_utils.py | ||
---|---|---|
267 | 267 |
|
268 | 268 |
Usage: prefix function with @qa_utils.DefineHook(...) |
269 | 269 |
|
270 |
This based on PEP 318, "Decorators for Functions and Methods". |
|
271 |
|
|
270 | 272 |
""" |
271 | 273 |
def wrapper(fn): |
272 | 274 |
def new_f(*args, **kwargs): |
Also available in: Unified diff