Commit abe3db55 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Add comment about PEP 318 to qa_utils.py.

Reviewed-by: iustinp
parent 888891c7
...@@ -267,6 +267,8 @@ def DefineHook(name): ...@@ -267,6 +267,8 @@ def DefineHook(name):
Usage: prefix function with @qa_utils.DefineHook(...) Usage: prefix function with @qa_utils.DefineHook(...)
This based on PEP 318, "Decorators for Functions and Methods".
""" """
def wrapper(fn): def wrapper(fn):
def new_f(*args, **kwargs): def new_f(*args, **kwargs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment