summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2015-10-04 08:22:06 +0200
committerMichele Simionato <michele.simionato@gmail.com>2015-10-04 08:22:06 +0200
commitd261e9c9b0a4e5c7db1a6ad60c3ed2344a6bcbc3 (patch)
tree4d8c87cf25798064312208a7e51d5b4b978902e5
parent1270103993921b8fb2b9e1097c9e5d8163ad18c5 (diff)
downloadpython-decorator-git-d261e9c9b0a4e5c7db1a6ad60c3ed2344a6bcbc3.tar.gz
Removed an unused argument
-rw-r--r--src/decorator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decorator.py b/src/decorator.py
index 7efcb6f..13aeef4 100644
--- a/src/decorator.py
+++ b/src/decorator.py
@@ -267,7 +267,7 @@ def decorator(caller, _func=None):
return FunctionMaker.create(
'%s(%s)' % (name, fun),
'return _decorate_(%s, _call_)' % fun,
- evaldict, call=caller, doc=doc, module=caller.__module__,
+ evaldict, doc=doc, module=caller.__module__,
__wrapped__=caller)