First page
Back
Continue
Last page
Overview
Graphics
Decorators
from
decorator
import
decorator
@decorator
def
trace
(f, *args, **kw):
print
"call %s with args %s, %s" % (f.func_name, args, kw)
return
f(*args, **kw)
@
trace
def
buggy_function(a, b, c)