Update Sphinx directive for super from function to class (GH-25489)

This commit is contained in:
Géry Ogam 2021-04-20 20:58:02 +02:00 committed by GitHub
parent 077a2e7664
commit d35eef3b90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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