From d6abda047e0b52aa1a379d06bd700edda8c623b7 Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Mon, 2 Nov 2015 07:29:05 +0100 Subject: Small renaming --- src/decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1