Skip to content

Commit 48d6546

Browse files
Used decorators
1 parent e033b66 commit 48d6546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ The :mod:`functools` module defines the following functions:
718718
The same pattern can be used for other similar decorators:
719719
:deco:`staticmethod`, :deco:`~abc.abstractmethod`, and others.
720720

721-
For every ``singledispatchmethod`` method defined in a class, the value
721+
For every method decorated with ``@singledispatchmethod`` in a class, the value
722722
dispatched on by that method is *always* the first argument passed for the call.
723723
Therefore, dispatching to regular methods can only be sensibly performed by
724724
calling such a method from instances of the class, and not from the class object.

0 commit comments

Comments
 (0)