diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2015-11-02 07:29:05 +0100 |
|---|---|---|
| committer | Michele Simionato <michele.simionato@gmail.com> | 2015-11-02 07:29:05 +0100 |
| commit | d6abda047e0b52aa1a379d06bd700edda8c623b7 (patch) | |
| tree | a6ce5a350939a4b652ce373e417e2b9851685c71 /src | |
| parent | 10f362eccabc5285f6dce795d256e764906eddea (diff) | |
| download | python-decorator-git-d6abda047e0b52aa1a379d06bd700edda8c623b7.tar.gz | |
Small renaming
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) |
