We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1edf2c4 commit 3265c93Copy full SHA for 3265c93
1 file changed
Doc/library/functools.rst
@@ -508,7 +508,7 @@ The :mod:`functools` module defines the following functions:
508
.. method:: singledispatch.register()
509
:no-typesetting:
510
511
- To add overloaded implementations to the function, use the :func:`~singledispatch.register`
+ To add overloaded implementations to the function, use the :func:`!register`
512
attribute of the generic function, which can be used as a decorator. For
513
functions annotated with types, the decorator will infer the type of the
514
first argument automatically::
0 commit comments