diff --git a/docs/decorators.rst b/docs/decorators.rst index 02367fd..10c860b 100644 --- a/docs/decorators.rst +++ b/docs/decorators.rst @@ -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)