mirror of
https://github.com/python/cpython.git
synced 2025-10-15 11:22:18 +00:00
[doc] Be more clear on super() regarding multiple base classes methods (GH-21789)
This commit is contained in:
parent
08a4803863
commit
69a733bda3
1 changed files with 1 additions and 1 deletions
|
@ -1711,7 +1711,7 @@ are always available. They are listed here in alphabetical order.
|
|||
not found in statically compiled languages or languages that only support
|
||||
single inheritance. This makes it possible to implement "diamond diagrams"
|
||||
where multiple base classes implement the same method. Good design dictates
|
||||
that this method have the same calling signature in every case (because the
|
||||
that such implementations have the same calling signature in every case (because the
|
||||
order of calls is determined at runtime, because that order adapts
|
||||
to changes in the class hierarchy, and because that order can include
|
||||
sibling classes that are unknown prior to runtime).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue