We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00508a7 commit 15ccc4fCopy full SHA for 15ccc4f
Doc/library/functions.rst
@@ -1637,6 +1637,10 @@ are always available. They are listed here in alphabetical order.
1637
super().method(arg) # This does the same thing as:
1638
# super(C, self).method(arg)
1639
1640
+ In addition to method lookups, :func:`super` also works for attribute
1641
+ lookups. One possible use case for this is calling :term:`descriptor`\s
1642
+ in a parent or sibling class.
1643
+
1644
Note that :func:`super` is implemented as part of the binding process for
1645
explicit dotted attribute lookups such as ``super().__getitem__(name)``.
1646
It does so by implementing its own :meth:`__getattribute__` method for searching
0 commit comments