@@ -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: `! register `
511+ To add overloaded implementations to the function, use the :func: `~singledispatch. 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::
@@ -581,7 +581,7 @@ The :mod:`functools` module defines the following functions:
581581 ...
582582 >>> fun.register(type(None), nothing)
583583
584- The :func: `! register ` attribute returns the undecorated function. This
584+ The :func: `~singledispatch. register ` attribute returns the undecorated function. This
585585 enables decorator stacking, :mod: `pickling<pickle> `, and the creation
586586 of unit tests for each variant independently::
587587
@@ -659,10 +659,10 @@ The :mod:`functools` module defines the following functions:
659659 .. versionadded :: 3.4
660660
661661 .. versionchanged :: 3.7
662- The :func: `! register ` attribute now supports using type annotations.
662+ The :func: `~singledispatch. register ` attribute now supports using type annotations.
663663
664664 .. versionchanged :: 3.11
665- The :func: `! register ` attribute now supports
665+ The :func: `~singledispatch. register ` attribute now supports
666666 :class: `typing.Union ` as a type annotation.
667667
668668
0 commit comments