From: Géry Ogam Date: Tue, 20 Apr 2021 18:58:02 +0000 (+0200) Subject: Update Sphinx directive for super from function to class (GH-25489) X-Git-Tag: v3.10.0b1~228 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d35eef3b904b62e9c775bf3764ab0a0611f5a860;p=thirdparty%2FPython%2Fcpython.git Update Sphinx directive for super from function to class (GH-25489) --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 30f62e69e7fb..72441f0dbfa5 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