]> 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:12 +0000 (18:13 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Apr 2021 01:13:12 +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 ef51782205b45eac4607339778050a74d44cca3a..3a222b1e67975b64706f4b0699bb81a28f1d43e8 100644 (file)
@@ -1631,7 +1631,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).