File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -491,9 +491,6 @@ The :mod:`functools` module defines the following functions:
491491
492492.. decorator :: singledispatch
493493
494- .. method :: singledispatch.register()
495- :no-typesetting:
496-
497494 Transform a function into a :term: `single-dispatch <single
498495 dispatch> ` :term: `generic function `.
499496
@@ -508,6 +505,9 @@ The :mod:`functools` module defines the following functions:
508505 ... print("Let me just say,", end=" ")
509506 ... print(arg)
510507
508+ .. method :: singledispatch.register()
509+ :no-typesetting:
510+
511511 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
You can’t perform that action at this time.
0 commit comments