Skip to content

Commit

Permalink
Update Sphinx directive for super from function to class (pythonGH-25489
Browse files Browse the repository at this point in the history
)
  • Loading branch information
geryogam authored Apr 20, 2021
1 parent 077a2e7 commit d35eef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d35eef3

Please sign in to comment.