summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2015-11-02 07:29:05 +0100
committerMichele Simionato <michele.simionato@gmail.com>2015-11-02 07:29:05 +0100
commitd6abda047e0b52aa1a379d06bd700edda8c623b7 (patch)
treea6ce5a350939a4b652ce373e417e2b9851685c71 /src
parent10f362eccabc5285f6dce795d256e764906eddea (diff)
downloadpython-decorator-git-d6abda047e0b52aa1a379d06bd700edda8c623b7.tar.gz
Small renaming
Diffstat (limited to 'src')
-rw-r--r--src/decorator.py2
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)