summaryrefslogtreecommitdiff
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-17 14:11:59 +0000
committerGeorg Brandl <georg@python.org>2010-08-17 14:11:59 +0000
commite097872046b69dd00a3ed44acbc3a4b940bddf0d (patch)
treed52a9fc4573c98407ee6a8a0f2fd2fc68de1cefd /Doc/library/functools.rst
parent418baf91e4cc484cde0d8e8f54a406fddb47537e (diff)
downloadcpython-e097872046b69dd00a3ed44acbc3a4b940bddf0d.tar.gz
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 2b693d99fc..7129746f92 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)