Skip to content

Commit 3265c93

Browse files
authored
Update functools.rst
1 parent 1edf2c4 commit 3265c93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ The :mod:`functools` module defines the following functions:
508508
.. method:: singledispatch.register()
509509
:no-typesetting:
510510

511-
To add overloaded implementations to the function, use the :func:`~singledispatch.register`
511+
To add overloaded implementations to the function, use the :func:`!register`
512512
attribute of the generic function, which can be used as a decorator. For
513513
functions annotated with types, the decorator will infer the type of the
514514
first argument automatically::

0 commit comments

Comments
 (0)