]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Be more clear on super() regarding multiple base classes methods (GH-21789...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 29 Apr 2021 01:13:20 +0000 (18:13 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Apr 2021 01:13:20 +0000 (18:13 -0700)
(cherry picked from commit 69a733bda34d413d3ad545ef3132240e5d2a7c0c)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
Co-authored-by: Andre Delfino <adelfino@gmail.com>
Doc/library/functions.rst

index 00d40d651952003b7ba42d403d13046ff8fb4e6d..036dca565783fe74602dc35f324dfd0cce2816f0 100644 (file)
@@ -1627,7 +1627,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).