diff options
author | Daisuke 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) |
commit | 0e61e67a57deb4abc677808201d7cf3c38138e02 (patch) | |
tree | 904a042593531964bf0ef25590a34734f86ab508 /Doc/library/functools.rst | |
parent | 277c84067ff5dfa271725ee9da1a9d75a7c0bcd8 (diff) | |
download | cpython-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.rst | 4 |
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`` |