Skip to content

Commit d35eef3

Browse files
authored
Update Sphinx directive for super from function to class (GH-25489)
1 parent 077a2e7 commit d35eef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ are always available. They are listed here in alphabetical order.
16771677
.. versionchanged:: 3.8
16781678
The *start* parameter can be specified as a keyword argument.
16791679

1680-
.. function:: super([type[, object-or-type]])
1680+
.. class:: super([type[, object-or-type]])
16811681

16821682
Return a proxy object that delegates method calls to a parent or sibling
16831683
class of *type*. This is useful for accessing inherited methods that have

0 commit comments

Comments
 (0)