summaryrefslogtreecommitdiffstats
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorDaisuke Miyakawa <d.miyakawa@gmail.com>2017-10-12 14:39:43 (GMT)
committerÉric Araujo <merwok@users.noreply.github.com>2017-10-12 14:39:43 (GMT)
commit0e61e67a57deb4abc677808201d7cf3c38138e02 (patch)
tree904a042593531964bf0ef25590a34734f86ab508 /Doc/library/functools.rst
parent277c84067ff5dfa271725ee9da1a9d75a7c0bcd8 (diff)
downloadcpython-0e61e67a57deb4abc677808201d7cf3c38138e02.zip
cpython-0e61e67a57deb4abc677808201d7cf3c38138e02.tar.gz
cpython-0e61e67a57deb4abc677808201d7cf3c38138e02.tar.bz2
bpo-31567: add or fix decorator markup in docs (#3959)
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r--Doc/library/functools.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 9a8defe..28062c1 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -264,9 +264,9 @@ The :mod:`functools` module defines the following functions:
return value
-.. decorator:: singledispatch(default)
+.. decorator:: singledispatch
- Transforms a function into a :term:`single-dispatch <single
+ Transform a function into a :term:`single-dispatch <single
dispatch>` :term:`generic function`.
To define a generic function, decorate it with the ``@singledispatch``