[New-bugs-announce] [issue43896] Update the Sphinx directive for super from function to class
Géry
report at bugs.python.org
Tue Apr 20 13:48:52 EDT 2021
New submission from Géry <gery.ogam at gmail.com>:
This PR updates the page [*Built-in Functions*](https://docs.python.org/3.9/library/functions.html#super) of the Python library documentation: `super` is not a `function` (`isinstance(super, type(lambda: None))` is `False`), it is a `type` (`isinstance(super, type)` is `True`), like `int`, `tuple`, `set`, etc. So it should get the same “class” prefix, i.e.
> **super**([*type*[, *object-or-type*]])
should become
> *class* **super**([*type*[, *object-or-type*]])
----------
assignee: docs at python
components: Documentation
messages: 391458
nosy: docs at python, maggyero
priority: normal
severity: normal
status: open
title: Update the Sphinx directive for super from function to class
type: enhancement
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43896>
_______________________________________
More information about the New-bugs-announce
mailing list