summaryrefslogtreecommitdiffstats
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-17 14:11:59 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-17 14:11:59 (GMT)
commit9e25701e87936ef61c348b5da6f9b580a52bab19 (patch)
tree972047b711843723059f0a379ddf07a3b9e0ccc0 /Doc/library/functools.rst
parentd26c18adccf02321592cd58a2dadb0ab68af6906 (diff)
downloadcpython-9e25701e87936ef61c348b5da6f9b580a52bab19.zip
cpython-9e25701e87936ef61c348b5da6f9b580a52bab19.tar.gz
cpython-9e25701e87936ef61c348b5da6f9b580a52bab19.tar.bz2
Markup nits.
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r--Doc/library/functools.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 2b693d9..7129746 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -163,13 +163,14 @@ The :mod:`functools` module defines the following functions:
wrapper function itself is missing any attributes named in *updated*.
.. versionadded:: 3.2
- Automatic addition of the __wrapped__ attribute
+ Automatic addition of the ``__wrapped__`` attribute.
.. versionadded:: 3.2
- Copying of the __annotations__ attribute by default
+ Copying of the ``__annotations__`` attribute by default.
.. versionchanged:: 3.2
- Missing attributes no longer trigger an AttributeError
+ Missing attributes no longer trigger an :exc:`AttributeError`.
+
.. decorator:: wraps(wrapped, assigned=WRAPPER_ASSIGNMENTS, updated=WRAPPER_UPDATES)