bpo-31567: add or fix decorator markup in docs (#3959)

This commit is contained in:
Daisuke Miyakawa 2017-10-12 23:39:43 +09:00 committed by Éric Araujo
parent 277c84067f
commit 0e61e67a57
4 changed files with 8 additions and 8 deletions

View file

@ -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``