diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/decorator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decorator.py b/src/decorator.py index 16b061c..05f7056 100644 --- a/src/decorator.py +++ b/src/decorator.py @@ -262,7 +262,7 @@ def decorator(caller, _func=None): evaldict['_call_'] = caller evaldict['_decorate_'] = decorate return FunctionMaker.create( - '%s(_f_)' % name, 'return _decorate_(_f_, _call_)', + '%s(func)' % name, 'return _decorate_(func, _call_)', evaldict, doc=doc, module=caller.__module__, __wrapped__=caller) |
