From 82fc7467853627d3106428e4c3ef2b52028c254e Mon Sep 17 00:00:00 2001 From: rsyring Date: Fri, 27 Sep 2013 10:37:40 -0400 Subject: [PATCH] Fix quick start with arguments example I believe the inner call of the example should be to wrapped() not wrapper() --- docs/quick-start.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quick-start.rst b/docs/quick-start.rst index f1bd369..3499717 100644 --- a/docs/quick-start.rst +++ b/docs/quick-start.rst @@ -42,7 +42,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)