summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGéry Ogam <gery.ogam@gmail.com>2021-04-20 18:58:02 (GMT)
committerGitHub <noreply@github.com>2021-04-20 18:58:02 (GMT)
commitd35eef3b904b62e9c775bf3764ab0a0611f5a860 (patch)
tree3cbc9310d477c561d013213e8212fd310956d2b9 /Doc
parent077a2e76649c2fc49ebb8982b6855bab09a85e8f (diff)
downloadcpython-d35eef3b904b62e9c775bf3764ab0a0611f5a860.zip
cpython-d35eef3b904b62e9c775bf3764ab0a0611f5a860.tar.gz
cpython-d35eef3b904b62e9c775bf3764ab0a0611f5a860.tar.bz2
Update Sphinx directive for super from function to class (GH-25489)
Diffstat (limited to 'Doc')
-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 30f62e6..72441f0 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1677,7 +1677,7 @@ are always available. They are listed here in alphabetical order.
.. versionchanged:: 3.8
The *start* parameter can be specified as a keyword argument.
-.. function:: super([type[, object-or-type]])
+.. class:: super([type[, object-or-type]])
Return a proxy object that delegates method calls to a parent or sibling
class of *type*. This is useful for accessing inherited methods that have