8000 [doc] Be more clear on super() regarding multiple base classes method… · python/cpython@8d47f92 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d47f92

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

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

0 commit comments

Comments
 (0)
0