[issue43896] Update the Sphinx directive for super from function to class
Raymond Hettinger
report at bugs.python.org
Tue Apr 20 14:39:23 EDT 2021
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
-0 on doing this. While class markup has crept into the Built-in Functions section, super() isn't really used this way (people don't subclass it or run isinstance on it).
Elsewhere in the docs, all the links to this entry use the markup, :func:`super` which looks nicer in the docs than the class reference.
In terms of markup, "function" is a role rather than an actual type, it is used for most callables whether or not ``isinstance(obj, type(lambda: None))`` returns true.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43896>
_______________________________________
More information about the Python-bugs-list
mailing list