summaryrefslogtreecommitdiff
path: root/documentation/index.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-08-02 16:25:34 -0700
committerBenjamin Peterson <benjamin@python.org>2014-08-02 16:25:34 -0700
commitc758e030edc85a736e1afd06b2a61632a4835912 (patch)
tree366d1ebfe939a84c43b4a687935aadeaba3ea5f9 /documentation/index.rst
parent45f9591d4f546bd2313c3c54104f863663a40ff1 (diff)
downloadsix-git-c758e030edc85a736e1afd06b2a61632a4835912.tar.gz
accept assigned and updated parameters for wraps() (fixes #85)
Diffstat (limited to 'documentation/index.rst')
-rw-r--r--documentation/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/index.rst b/documentation/index.rst
index 2de3622..e2bdcc3 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -222,7 +222,7 @@ functions and methods is the stdlib :mod:`py3:inspect` module.
aliased to :class:`py3:object`.)
-.. function:: wraps(wrapped)
+.. function:: wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, updated=functools.WRAPPER_UPDATES)
This is exactly the :func:`py3:functools.wraps` decorator, but it sets the
``__wrapped__`` attribute on what it decorates as :func:`py3:functools.wraps`