summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-04-29 01:13:20 (GMT)
committerGitHub <noreply@github.com>2021-04-29 01:13:20 (GMT)
commite01003130a2bf05efc0eccc1eebd21982a63aab1 (patch)
tree7790b55482f4d5fe966ffcc6d6cdf02b91ed2f6e /Doc/library/functions.rst
parentcc1dcb6a5bff01ce73d1f836d9bb993c346900e0 (diff)
downloadcpython-e01003130a2bf05efc0eccc1eebd21982a63aab1.zip
cpython-e01003130a2bf05efc0eccc1eebd21982a63aab1.tar.gz
cpython-e01003130a2bf05efc0eccc1eebd21982a63aab1.tar.bz2
[doc] Be more clear on super() regarding multiple base classes methods (GH-21789) (GH-25707)
(cherry picked from commit 69a733bda34d413d3ad545ef3132240e5d2a7c0c) Co-authored-by: Andre Delfino <adelfino@gmail.com> Co-authored-by: Andre Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 00d40d6..036dca5 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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).