diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 313dbffdcde..06ba323ca30 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1532,6 +1532,10 @@ are always available. They are listed here in alphabetical order. super().method(arg) # This does the same thing as: # super(C, self).method(arg) + In addition to method lookups, :func:`super` also works for attribute + lookups. One possible use case for this is calling :term:`descriptor`\s + in a parent or sibling class. + Note that :func:`super` is implemented as part of the binding process for explicit dotted attribute lookups such as ``super().__getitem__(name)``. It does so by implementing its own :meth:`__getattribute__` method for searching