[Python-checkins] [doc] Be more clear on super() regarding multiple base classes methods (GH-21789)

orsenthil webhook-mailer at python.org
Wed Apr 28 21:12:23 EDT 2021


https://github.com/python/cpython/commit/69a733bda34d413d3ad545ef3132240e5d2a7c0c
commit: 69a733bda34d413d3ad545ef3132240e5d2a7c0c
branch: master
author: Andre Delfino <adelfino at gmail.com>
committer: orsenthil <skumaran at gatech.edu>
date: 2021-04-28T18:12:15-07:00
summary:

[doc] Be more clear on super() regarding multiple base classes methods (GH-21789)

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 72441f0dbfa57..7d8a669f9e16d 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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).



More information about the Python-checkins mailing list