Skip to content

Commit e033b66

Browse files
gh-143535: Fix indentation in singledispatchmethod docs
1 parent 44f3295 commit e033b66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/functools.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -718,10 +718,10 @@ 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
722-
dispatched on by that method is *always* the first argument passed for the call.
723-
Therefore, dispatching to regular methods can only be sensibly performed by
724-
calling such a method from instances of the class, and not from the class object.
721+
For every ``singledispatchmethod`` method defined in a class, the value
722+
dispatched on by that method is *always* the first argument passed for the call.
723+
Therefore, dispatching to regular methods can only be sensibly performed by
724+
calling such a method from instances of the class, and not from the class object.
725725

726726
.. versionadded:: 3.8
727727

0 commit comments

Comments
 (0)