Skip to content

Commit e010031

Browse files
[doc] Be more clear on super() regarding multiple base classes methods (pythonGH-21789) (pythonGH-25707)
(cherry picked from commit 69a733b) Co-authored-by: Andre Delfino <adelfino@gmail.com> Co-authored-by: Andre Delfino <adelfino@gmail.com>
1 parent cc1dcb6 commit e010031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ are always available. They are listed here in alphabetical order.
16271627
not found in statically compiled languages or languages that only support
16281628
single inheritance. This makes it possible to implement "diamond diagrams"
16291629
where multiple base classes implement the same method. Good design dictates
1630-
that this method have the same calling signature in every case (because the
1630+
that such implementations have the same calling signature in every case (because the
16311631
order of calls is determined at runtime, because that order adapts
16321632
to changes in the class hierarchy, and because that order can include
16331633
sibling classes that are unknown prior to runtime).

0 commit comments

Comments
 (0)