Fix incorrect variable reference in code example for documentation.

This commit is contained in:
Graham Dumpleton
2013-09-08 08:52:24 +12:00
parent 00855699c8
commit 50971c9f20

View File

@@ -53,7 +53,7 @@ the inner wrapper when the wrapped function is called.
def with_arguments(myarg1, myarg2):
@wrapt.decorator
def wrapper(wrapped, instance, args, kwargs):
return wrapper(*args, **kwargs)
return wrapped(*args, **kwargs)
return wrapper
@with_arguments(1, 2)